neocgit

a more 'modern' version of cgit
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/neocgit

commit 880223dc845e8b502e753425b889cbb70b73478e
parent 8d8e84e72a24f474a6659ca04d0906723b2ac975
Author: John Keeping <john@keeping.me.uk>
Date:   Wed, 10 Apr 2013 13:11:57 +0100

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>

Diffstat:
Mtests/t0109-gitconfig.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/t0109-gitconfig.sh b/tests/t0109-gitconfig.sh @@ -18,7 +18,7 @@ test_expect_success 'no access to $HOME' ' -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 '