We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d1a7d5 commit e680649Copy full SHA for e680649
1 file changed
test_runtime.sh
@@ -4,10 +4,10 @@ set -o nounset
4
set -o pipefail
5
6
RUNTIME="runc"
7
-KEEP=0
+KEEP=0 # Track whether we keep the test directory around or clean it up
8
9
usage() {
10
- echo "$0 -r <runtime> -h -k"
+ echo "$0 -r <runtime> -k -h"
11
}
12
13
error() {
@@ -62,12 +62,12 @@ trap cleanup EXIT
62
tar -xf rootfs.tar.gz -C ${TESTDIR}
63
cp runtimetest ${TESTDIR}
64
65
-TESTCMD="${RUNTIME} start"
66
67
pushd $TESTDIR > /dev/null
68
ocitools generate --args /runtimetest
69
popd > /dev/null
70
+TESTCMD="${RUNTIME} start"
71
72
if ! ${TESTCMD}; then
73
error "Runtime ${RUNTIME} failed validation"
0 commit comments