t/t3905: add missing '&&' linkage
authorBrandon Casey <drafnel@gmail.com>
Sat, 27 Aug 2011 00:59:26 +0000 (19:59 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 27 Aug 2011 18:12:15 +0000 (11:12 -0700)
Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3905-stash-include-untracked.sh
index adc25245b9df81fbd66cb1853333e17fab25812c..ca1a46cb1183d1cbdc091efe264348121ca20f45 100755 (executable)
@@ -28,7 +28,7 @@ cat > expect <<EOF
 EOF
 
 test_expect_success 'stash save --include-untracked cleaned the untracked files' '
-       git status --porcelain >actual
+       git status --porcelain >actual &&
        test_cmp expect actual
 '
 
@@ -71,7 +71,7 @@ EOF
 
 test_expect_success 'stash pop after save --include-untracked leaves files untracked again' '
        git stash pop &&
-       git status --porcelain >actual
+       git status --porcelain >actual &&
        test_cmp expect actual
 '
 
@@ -136,7 +136,7 @@ test_expect_success 'stash save --include-untracked respects .gitignore' '
 
 test_expect_success 'stash save -u can stash with only untracked files different' '
        echo 4 > file4 &&
-       git stash -u
+       git stash -u &&
        test "!" -f file4
 '