From 57ddb0571cf3ecaecef9beb502e534e91a9d32e3 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 18 Oct 2020 14:21:25 -0700 Subject: [PATCH] scripts/exec_tests.sh: address shellcheck warnings --- scripts/exec_tests.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/exec_tests.sh b/scripts/exec_tests.sh index e4deacb..2819045 100644 --- a/scripts/exec_tests.sh +++ b/scripts/exec_tests.sh @@ -1,3 +1,4 @@ +#!/bin/sh # # Helper script used by run_tests.sh, not intended to be run directly # @@ -5,12 +6,12 @@ set -eu run_cmd() { - echo "$WRAPPER $@" + echo "$WRAPPER $*" $WRAPPER "$@" > /dev/null } for prog in ./test_*; do - run_cmd $prog + run_cmd "$prog" done for format in '' '-g' '-z'; do