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>
This commit is contained in:
parent
2e88c26626
commit
3c740268c4
@ -180,8 +180,8 @@ test_expect_success 'req_Root (export-all)' \
|
|||||||
tail -n1 log | grep -q "^I LOVE YOU$"'
|
tail -n1 log | grep -q "^I LOVE YOU$"'
|
||||||
|
|
||||||
test_expect_failure 'req_Root failure (export-all w/o whitelist)' \
|
test_expect_failure 'req_Root failure (export-all w/o whitelist)' \
|
||||||
'cat request-anonymous | git-cvsserver --export-all pserver >log 2>&1
|
'cat request-anonymous | git-cvsserver --export-all pserver >log 2>&1 ||
|
||||||
|| false'
|
false'
|
||||||
|
|
||||||
test_expect_success 'req_Root (everything together)' \
|
test_expect_success 'req_Root (everything together)' \
|
||||||
'cat request-base | git-cvsserver --export-all --strict-paths --base-path $WORKDIR/ pserver $SERVERDIR >log 2>&1 &&
|
'cat request-base | git-cvsserver --export-all --strict-paths --base-path $WORKDIR/ pserver $SERVERDIR >log 2>&1 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user