mirror of
https://github.com/tinyproxy/tinyproxy.git
synced 2025-12-20 08:50:05 +08:00
tests: fix shellcheck issues in run_tests_valgrind.sh
This fixes instances of: https://shellcheck.net/wiki/SC2086 (info): Double quote to prevent globbing and word splitting. https://shellcheck.net/wiki/SC2034 (warning): BASEDIR appears unused. Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
@@ -18,11 +18,10 @@
|
||||
# this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
SCRIPTS_DIR=$(dirname $0)
|
||||
BASEDIR=$SCRIPTS_DIR/../..
|
||||
SCRIPTS_DIR=$(dirname "$0")
|
||||
TESTS_DIR=$SCRIPTS_DIR/..
|
||||
TESTENV_DIR=$TESTS_DIR/env
|
||||
LOG_DIR=$TESTENV_DIR/var/log
|
||||
|
||||
VALGRIND="valgrind --track-origins=yes --show-leak-kinds=all --tool=memcheck --leak-check=full --log-file=$LOG_DIR/valgrind.log" $SCRIPTS_DIR/run_tests.sh
|
||||
VALGRIND="valgrind --track-origins=yes --show-leak-kinds=all --tool=memcheck --leak-check=full --log-file=$LOG_DIR/valgrind.log" "$SCRIPTS_DIR"/run_tests.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user