git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/4] t/t3905: add missing '&&' linkage

From
Brandon Casey <drafnel@gmail.com>
Date
Aug 27, 2011, 00:59 UTC
Message-ID
<1314406767-17832-3-git-send-email-drafnel@gmail.com>
In-Reply-To
<1314406767-17832-1-git-send-email-drafnel@gmail.com>
Signed-off-by: Brandon Casey <drafnel@gmail.com>
---
 t/t3905-stash-include-untracked.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/t3905-stash-include-untracked.sh b/t/t3905-stash-include-untracked.sh
index adc2524..ca1a46c 100755
--- a/t/t3905-stash-include-untracked.sh
+++ b/t/t3905-stash-include-untracked.sh
@@ -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
 '
 
-- 
1.7.6
Previous: Brandon CaseyNext: Brandon Casey
Message 3 of 6 in “t/t3905: use the name 'actual' for test output, swap arguments to test_cmp”
  1. 1/4 t/t3905: use the name 'actual' for test output, swap arguments to test_cmpBrandon Casey, Aug 27, 2011
  2. 2/4 git-stash.sh: fix typo in error messageBrandon Casey, Aug 27, 2011
  3. 3/4 t/t3905: add missing '&&' linkageBrandon Casey, Aug 27, 2011
  4. 4/4 git-stash: remove untracked/ignored directories when stashedBrandon Casey, Aug 27, 2011
  5. Hilco WijbengaAug 27, 2011
  6. Junio C HamanoAug 27, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.