diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2007-06-17 01:52:50 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-06-20 16:22:09 -0700 |
commit | 3c740268c40f10010dd5dec7df85a1f0d2062c59 (patch) | |
tree | 84e06a66088d7c21572ff0f58b30c8a61e3864d0 /t/t9400-git-cvsserver-server.sh | |
parent | 2e88c266261489a16708ba5ee0ddfbabcb17e3a4 (diff) | |
download | git-3c740268c40f10010dd5dec7df85a1f0d2062c59.tar.gz git-3c740268c40f10010dd5dec7df85a1f0d2062c59.tar.xz |
cvsserver: Actually implement --export-all
Frank Lichtenheld, Fri, Jun 15, 2007 03:01:53 +0200:
> +test_expect_failure 'req_Root failure (export-all w/o whitelist)' \
> + 'cat request-anonymous | git-cvsserver --export-all pserver >log 2>&1
> + || false'
This does not work, at least for bash in current Ubuntu:
GNU bash, version 3.2.13(1)-release
You have to put "||" on the previous line:
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9400-git-cvsserver-server.sh')
-rwxr-xr-x | t/t9400-git-cvsserver-server.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t9400-git-cvsserver-server.sh b/t/t9400-git-cvsserver-server.sh index b442b5d14..033177068 100755 --- a/t/t9400-git-cvsserver-server.sh +++ b/t/t9400-git-cvsserver-server.sh @@ -180,8 +180,8 @@ test_expect_success 'req_Root (export-all)' \ tail -n1 log | grep -q "^I LOVE YOU$"' test_expect_failure 'req_Root failure (export-all w/o whitelist)' \ - 'cat request-anonymous | git-cvsserver --export-all pserver >log 2>&1 - || false' + 'cat request-anonymous | git-cvsserver --export-all pserver >log 2>&1 || + false' test_expect_success 'req_Root (everything together)' \ 'cat request-base | git-cvsserver --export-all --strict-paths --base-path $WORKDIR/ pserver $SERVERDIR >log 2>&1 && |