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>
-E HOME="$non_existant_path" \
-E CGIT_CONFIG="$PWD/cgitrc" \
-E QUERY_STRING="url=foo/commit" \
-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
'
test_must_fail grep "$non_existant_path" strace.out
'