scripts/exec_tests.sh: address shellcheck warnings

This commit is contained in:
Eric Biggers 2020-10-18 14:21:25 -07:00
parent c509497a54
commit 57ddb0571c

View File

@ -1,3 +1,4 @@
#!/bin/sh
# #
# Helper script used by run_tests.sh, not intended to be run directly # Helper script used by run_tests.sh, not intended to be run directly
# #
@ -5,12 +6,12 @@
set -eu set -eu
run_cmd() { run_cmd() {
echo "$WRAPPER $@" echo "$WRAPPER $*"
$WRAPPER "$@" > /dev/null $WRAPPER "$@" > /dev/null
} }
for prog in ./test_*; do for prog in ./test_*; do
run_cmd $prog run_cmd "$prog"
done done
for format in '' '-g' '-z'; do for format in '' '-g' '-z'; do