From 2d5e0f75447c4ec3da0b1bfa29a9112fb11d5e21 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:08:19 -0700 Subject: Put the valgrind comment above the loop it explains --- tests/setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/setup.sh b/tests/setup.sh index 323addf..9f17778 100755 --- a/tests/setup.sh +++ b/tests/setup.sh @@ -5,9 +5,6 @@ # which is where test_expect_success and the trash directory come from. Set # CGIT_TEST_NO_CREATE_REPOS to get the helpers without paying for the fixtures. -# The Git test library would run every Git command under Valgrind if it saw -# --valgrind, and only cgit is worth watching, so the option is taken out -# here and acted on further down. LF=' ' # Trash directories are collected under one trash/, which keeps the ignore @@ -15,6 +12,9 @@ LF=' # one given on the command line still wins. test_argv="${LF}--root=trash" +# The Git test library would run every Git command under Valgrind if it saw +# --valgrind, and only cgit is worth watching, so the option is taken out +# here and acted on further down. while test $# != 0 do case "$1" in -- cgit