summaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorBrad Burlage <brb@google.com>2019-10-31 11:25:19 -0700
committergVisor bot <gvisor-bot@google.com>2019-10-31 11:28:18 -0700
commit7dcfcd53e4f3f0e1384ac42eacf2622a57d1b37c (patch)
treedbb694af7777aed978bd708582a5ce77ad5c35b5 /scripts
parent0202be1ba57341f9d257564a3af5a88d54de9df2 (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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runtime_tests.sh6
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"