From 6b9dac473def1e6ed0daedb9eb35664fbbfffb8c Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 24 Aug 2026 16:51:55 -1000 Subject: Prefer POSIX forms throughout the test scripts --- tests/valgrind/bin/cgit | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/valgrind') diff --git a/tests/valgrind/bin/cgit b/tests/valgrind/bin/cgit index 56ca807..e35e220 100755 --- a/tests/valgrind/bin/cgit +++ b/tests/valgrind/bin/cgit @@ -1,7 +1,10 @@ #!/bin/sh -# Note that we currently use Git's suppression file and there are variables -# $GIT_VALGRIND and $CGIT_VALGRIND which point to different places. +# Stands in for the cgit binary when the suite runs with --valgrind, which is +# when setup.sh puts this directory ahead of the build on PATH. Git's own +# suppression file is reused rather than kept in a copy here, so GIT_VALGRIND +# points into the bundled Git tree while CGIT_VALGRIND points back at this +# wrapper's home. exec valgrind -q --error-exitcode=126 \ --suppressions="$GIT_VALGRIND/default.supp" \ --gen-suppressions=all \ -- cgit v2.8.0