Diff options
-rwxr-xr-xtests/setup.sh6
1 file changed, 3 insertions, 3 deletions
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