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

[PATCH 1/2] t/t3415: use && where applicable.

From
Yann Dirson <ydirson@altern.org>
Date
Oct 1, 2010, 21:19 UTC
Message-ID
<1285967960-17691-2-git-send-email-ydirson@altern.org>
In-Reply-To
<1285967960-17691-1-git-send-email-ydirson@altern.org>
Signed-off-by: Yann Dirson <ydirson@altern.org>
---
 t/t3415-rebase-autosquash.sh |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/t3415-rebase-autosquash.sh b/t/t3415-rebase-autosquash.sh
index 37cb89a..fd2184c 100755
--- a/t/t3415-rebase-autosquash.sh
+++ b/t/t3415-rebase-autosquash.sh
@@ -26,7 +26,7 @@ test_auto_fixup() {
 	echo 1 >file1 &&
 	git add -u &&
 	test_tick &&
-	git commit -m "fixup! first"
+	git commit -m "fixup! first" &&
 
 	git tag $1 &&
 	test_tick &&
@@ -55,7 +55,7 @@ test_auto_squash() {
 	echo 1 >file1 &&
 	git add -u &&
 	test_tick &&
-	git commit -m "squash! first"
+	git commit -m "squash! first" &&
 
 	git tag $1 &&
 	test_tick &&
@@ -84,7 +84,7 @@ test_expect_success 'misspelled auto squash' '
 	echo 1 >file1 &&
 	git add -u &&
 	test_tick &&
-	git commit -m "squash! forst"
+	git commit -m "squash! forst" &&
 	git tag final-missquash &&
 	test_tick &&
 	git rebase --autosquash -i HEAD^^^ &&
-- 
1.7.2.3
Previous: Yann DirsonNext: Yann Dirson
Message 2 of 3 in “Testcase for a rebase-autosquash bug”
  1. 0/2 Testcase for a rebase-autosquash bugYann Dirson, Oct 1, 2010
  2. 1/2 t/t3415: use && where applicable.Yann Dirson, Oct 1, 2010
  3. 2/2 rebase-autosquash: add testcase for fixup occuring before its fixed commit.Yann Dirson, Oct 1, 2010

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.