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>
Este commit está contenido en:
John Keeping 2013-04-10 13:11:57 +01:00 cometido por Jason A. Donenfeld
padre 8d8e84e72a
commit 880223dc84
Se han modificado 1 ficheros con 1 adiciones y 1 borrados

Ver fichero

@ -18,7 +18,7 @@ test_expect_success 'no access to $HOME' '
-E HOME="$non_existant_path" \ -E HOME="$non_existant_path" \
-E CGIT_CONFIG="$PWD/cgitrc" \ -E CGIT_CONFIG="$PWD/cgitrc" \
-E QUERY_STRING="url=foo/commit" \ -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
' '