chiark
/
gitweb
/
~mdw
/
stgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6b79a09
)
Fix t1200 to catch intermediate errors.
author
Yann Dirson
<ydirson@altern.org>
Mon, 25 Jun 2007 21:24:51 +0000
(23:24 +0200)
committer
Catalin Marinas
<catalin.marinas@gmail.com>
Mon, 25 Jun 2007 21:49:38 +0000
(22:49 +0100)
All command sequences in tests should be linked with && or
similar, to guard against potentially missing a regresssion.
Signed-off-by: Yann Dirson <ydirson@altern.org>
t/t1200-push-modified.sh
patch
|
blob
|
blame
|
history
diff --git
a/t/t1200-push-modified.sh
b/t/t1200-push-modified.sh
index 6769667fc6003945da33790b43cffb5802572949..324b3b003970150ea27d6eb6db2343bb7bf77367 100755
(executable)
--- a/
t/t1200-push-modified.sh
+++ b/
t/t1200-push-modified.sh
@@
-21,9
+21,9
@@
test_create_repo foo
test_expect_success \
'Clone tree and setup changes' \
"stg clone foo bar &&
- (cd bar && stg new p1 -m p1
+ (cd bar && stg new p1 -m p1
&&
printf 'a\nc\n' > file && stg add file && stg refresh &&
- stg new p2 -m p2
+ stg new p2 -m p2
&&
printf 'a\nb\nc\n' > file && stg refresh
)
"