From: Yann Dirson Date: Mon, 25 Jun 2007 21:24:51 GMT Subject: [StGIT PATCH 6/7] Fix t1200 to catch intermediate errors. Message-ID: <20070625212451.17189.21928.stgit@gandelf.nowhere.earth> In-Reply-To: <20070625212229.17189.79919.stgit@gandelf.nowhere.earth> All command sequences in tests should be linked with && or similar, to guard against potentially missing a regresssion. Signed-off-by: Yann Dirson --- t/t1200-push-modified.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t1200-push-modified.sh b/t/t1200-push-modified.sh index 6769667..324b3b0 100755 --- 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 ) "