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

[PATCH 1/3] Missing && in t/t7001.sh.

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Feb 4, 2009, 09:32 UTC
Message-ID
<1233739928-19895-1-git-send-email-Matthieu.Moy@imag.fr>
Without this, the exit status is only the one of the last line.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
---
 t/t7001-mv.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t7001-mv.sh b/t/t7001-mv.sh
index ef2e78f..e4dfe95 100755
--- a/t/t7001-mv.sh
+++ b/t/t7001-mv.sh
@@ -55,7 +55,7 @@ test_expect_success \
      git mv -k untracked1 untracked2 path0 &&
      test -f untracked1 &&
      test -f untracked2 &&
-     test ! -f path0/untracked1
+     test ! -f path0/untracked1 &&
      test ! -f path0/untracked2'
 
 # clean up the mess in case bad things happen
-- 
1.6.1.2.321.g68da9
Next: Matthieu Moy
Message 1 of 4 in “Missing && in t/t7001.sh.”
  1. 1/3 Missing && in t/t7001.sh.Matthieu Moy, Feb 4, 2009
  2. 2/3 [BUG] Add a testcase for "git mv -f" on untracked files.Matthieu Moy, Feb 4, 2009
  3. 3/3 builtin-mv.c: check for unversionned files before looking at the destination.Matthieu Moy, Feb 4, 2009
  4. Junio C HamanoFeb 4, 2009

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.