aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-01-16 12:10:18 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2018-01-16 22:08:07 +0000
commit0985fce12ac6819e0c28f30076cf5259b01c509b (patch)
tree9e92fb05e94f4766522a85594f027025f1c918fc
parent0bc31724dc739fc8d06bbb401dd7dc0415c55490 (diff)
downloadpodman-0985fce12ac6819e0c28f30076cf5259b01c509b.tar.gz
podman-0985fce12ac6819e0c28f30076cf5259b01c509b.tar.bz2
podman-0985fce12ac6819e0c28f30076cf5259b01c509b.zip
switch to bats-core
it seems the original bats project is deprecated and bats-core is an active fork of it. we dont have packages in distributions but will build from source. Signed-off-by: baude <bbaude@redhat.com> Closes: #232 Approved by: baude
-rwxr-xr-x.papr.sh5
-rw-r--r--.papr.yml1
2 files changed, 5 insertions, 1 deletions
diff --git a/.papr.sh b/.papr.sh
index e9ac72fe1..b69576ce3 100755
--- a/.papr.sh
+++ b/.papr.sh
@@ -96,3 +96,8 @@ fi
make TAGS="${TAGS}"
make TAGS="${TAGS}" install PREFIX=/host/usr ETCDIR=/host/etc
make TAGS="${TAGS}" test-binaries
+
+# Add the new bats core instead of the deprecated bats
+git clone https://github.com/bats-core/bats-core /bats-core
+cd /bats-core
+install -D -m 755 libexec/* /host/usr/bin/
diff --git a/.papr.yml b/.papr.yml
index 2100a3773..6ca7e7152 100644
--- a/.papr.yml
+++ b/.papr.yml
@@ -15,7 +15,6 @@ tests:
- CRIO_ROOT=/var/tmp/checkout PODMAN_BINARY=/usr/bin/podman CONMON_BINARY=/usr/libexec/crio/conmon PAPR=1 sh .papr.sh
packages:
- - bats
- containernetworking-cni
---