From b0a2ca70ba950dae537e2607ad6bf6f2bed3d334 Mon Sep 17 00:00:00 2001 From: Ethan P Date: Mon, 27 Apr 2020 18:47:34 -0700 Subject: [PATCH] test: Fix argument values given to test.sh not being passed to Best --- test.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test.sh b/test.sh index ce66b8c..467ed9e 100755 --- a/test.sh +++ b/test.sh @@ -29,7 +29,12 @@ while shiftopt; do TEST_ENV_BIN_DIR="${HERE}/bin" TEST_ENV_BIN_SUFFIX="" ;; - *) OPT_ARGV+=("$OPT") ;; + *) + if [[ "$OPT_VAL" ]]; then + OPT_ARGV+=("${OPT}=${OPT_VAL}") + else + OPT_ARGV+=("$OPT") + fi ;; esac done