Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
cvsserver: Actually implement --export-all
author
Alex Riesen
<raa.lkml@gmail.com>
Sat, 16 Jun 2007 23:52:50 +0000
(
01:52
+0200)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 20 Jun 2007 23:22:09 +0000
(16:22 -0700)
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>
t/t9400-git-cvsserver-server.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
2e88c26
)
diff --git
a/t/t9400-git-cvsserver-server.sh
b/t/t9400-git-cvsserver-server.sh
index b442b5d145234ee18e646c3693e04307287263be..033177068670199aa8b5efc2bd970f8426b2f13e 100755
(executable)
--- 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 &&