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

[PATCH] Fix test t3701-add-interactive.sh

From
Kacper Kornet <draenog@pld-linux.org>
Date
May 5, 2011, 16:50 UTC
Message-ID
<20110505165029.GD31229@camk.edu.pl>

One of the tests used to fail due to EOF not in the first column and not continued &&.

Signed-off-by: Kacper Kornet <draenog@pld-linux.org>
---
 t/t3701-add-interactive.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t3701-add-interactive.sh b/t/t3701-add-interactive.sh
index d6327e7..018f5d9 100755
--- a/t/t3701-add-interactive.sh
+++ b/t/t3701-add-interactive.sh
@@ -83,9 +83,9 @@ EOF
 
 test_expect_success PERL 'setup fake editor' '
 	cat >fake_editor.sh <<EOF
-	EOF
+EOF
 	chmod a+x fake_editor.sh &&
-	test_set_editor "$(pwd)/fake_editor.sh" &&
+	test_set_editor "$(pwd)/fake_editor.sh"
 '
 
 test_expect_success PERL 'dummy edit works' '
-- 
1.7.5

-- 
  Kacper Kornet
Next: Junio C Hamano
Message 1 of 3 in “Fix test t3701-add-interactive.sh”
  1. Fix test t3701-add-interactive.shKacper Kornet, May 5, 2011
  2. Junio C HamanoMay 5, 2011
  3. Kacper KornetMay 5, 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.