cgit

commit 880223dc845e8b502e753425b889cbb70b73478e

Author: John Keeping <john@keeping.me.uk>

t0109: chain operations with &&

Without '&&' between operations, we will not detect if strace or cgit
exit with an error status, which would cause a false positive test
status in this case.

Signed-off-by: John Keeping <john@keeping.me.uk>

 tests/t0109-gitconfig.sh | 2 +-


diff --git a/tests/t0109-gitconfig.sh b/tests/t0109-gitconfig.sh
index cdd570b02d6173c1da0b88314545bd25b5869e1d..f64e691b6ddabc08075684df4525bef335880998 100755
--- a/tests/t0109-gitconfig.sh
+++ b/tests/t0109-gitconfig.sh
@@ -18,7 +18,7 @@ 	strace \
 		-E HOME="$non_existant_path" \
 		-E CGIT_CONFIG="$PWD/cgitrc" \
 		-E QUERY_STRING="url=foo/commit" \
-		-e access -f -o strace.out cgit
+		-e access -f -o strace.out cgit &&
 	test_must_fail grep "$non_existant_path" strace.out
 '