mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-06 00:45:43 +00:00
We experienced regression when using the latest `v1.2.0-dev` bats in Ubuntu 20.04 (see github.com/containers/libpod/pull/6418). Using bats v1.1.0 worked in the Ubuntu test VM. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
16 lines
276 B
Bash
Executable file
16 lines
276 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
die() { echo "${1:-No error message given} (from $(basename $0))"; exit 1; }
|
|
|
|
buildDir=$(mktemp -d)
|
|
git clone https://github.com/bats-core/bats-core $buildDir
|
|
|
|
pushd $buildDir
|
|
pwd
|
|
git reset --hard ${VERSION}
|
|
./install.sh /usr/local
|
|
popd
|
|
|
|
rm -rf $buildDir
|