Skip to content

Commit 3c74026

Browse files
raalkmlgitster
authored andcommitted
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 <[email protected]>
1 parent 2e88c26 commit 3c74026

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t9400-git-cvsserver-server.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ test_expect_success 'req_Root (export-all)' \
180180
tail -n1 log | grep -q "^I LOVE YOU$"'
181181

182182
test_expect_failure 'req_Root failure (export-all w/o whitelist)' \
183-
'cat request-anonymous | git-cvsserver --export-all pserver >log 2>&1
184-
|| false'
183+
'cat request-anonymous | git-cvsserver --export-all pserver >log 2>&1 ||
184+
false'
185185

186186
test_expect_success 'req_Root (everything together)' \
187187
'cat request-base | git-cvsserver --export-all --strict-paths --base-path $WORKDIR/ pserver $SERVERDIR >log 2>&1 &&

0 commit comments

Comments
 (0)