diff options
author | Brad Burlage <brb@google.com> | 2019-10-31 11:25:19 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-31 11:28:18 -0700 |
commit | 7dcfcd53e4f3f0e1384ac42eacf2622a57d1b37c (patch) | |
tree | dbb694af7777aed978bd708582a5ce77ad5c35b5 | |
parent | 0202be1ba57341f9d257564a3af5a88d54de9df2 (diff) |
Fix overloaded use of $RUNTIME.
Turns out we use $RUNTIME in scripts/common.sh to give a name to the runsc
runtime used by the tests.
PiperOrigin-RevId: 277764383
-rwxr-xr-x | scripts/runtime_tests.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/runtime_tests.sh b/scripts/runtime_tests.sh index fb82b2491..9ee991e42 100755 --- a/scripts/runtime_tests.sh +++ b/scripts/runtime_tests.sh @@ -16,10 +16,10 @@ source $(dirname $0)/common.sh -if [ ! -v RUNTIME ]; then - echo 'Must set $RUNTIME' >&2 +if [ ! -v RUNTIME_TEST_NAME ]; then + echo 'Must set $RUNTIME_TEST_NAME' >&2 exit 1 fi install_runsc_for_test runtimes -test_runsc "//test/runtimes:${RUNTIME}_test" +test_runsc "//test/runtimes:${RUNTIME_TEST_NAME}_test" |