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
This commit is contained in:
Brad Burlage
2019-10-31 11:28:18 -07:00
committed by gVisor bot
parent 0202be1ba5
commit 7dcfcd53e4
+3 -3
View File
@@ -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"