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

[PATCH 3/3] t2200-add-update.sh: change expected fail to success

From
Chris Packham <judge.packham@gmail.com>
Date
Feb 9, 2010, 22:30 UTC
Message-ID
<1265754650-25438-4-git-send-email-judge.packham@gmail.com>
In-Reply-To
<1265754650-25438-3-git-send-email-judge.packham@gmail.com>

This changes the test added in bb73e5c to an expected success now that Junio has supplied a fix.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
---
 t/t2200-add-update.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t2200-add-update.sh b/t/t2200-add-update.sh
index dbabc3c..6302137 100755
--- a/t/t2200-add-update.sh
+++ b/t/t2200-add-update.sh
@@ -176,7 +176,7 @@ test_expect_success 'add -u resolves unmerged paths' '
 
 '
 
-test_expect_failure 'error out when attempting to add -u non-existent pathspec' '
+test_expect_success 'error out when attempting to add -u non-existent pathspec' '
 	test_must_fail git add -u non-existent &&
 	! (git ls-files | grep "non-existent")
 '
-- 
1.6.4.2
Previous: Chris PackhamNext: Junio C Hamano
Message 11 of 13 in “git add -u nonexistent-file”
  1. SZEDER GáborFeb 8, 2010
  2. Chris PackhamFeb 8, 2010
  3. Jeff KingFeb 9, 2010
  4. Chris PackhamFeb 9, 2010
  5. test for add with non-existent pathspecChris Packham, Feb 9, 2010
  6. Junio C HamanoFeb 9, 2010
  7. Chris PackhamFeb 9, 2010
  8. Chris PackhamFeb 9, 2010
  9. 1/3 test for add with non-existent pathspecChris Packham, Feb 9, 2010
  10. 2/3 git add -u: give an error if pathspec unmatchedChris Packham, Feb 9, 2010
  11. 3/3 t2200-add-update.sh: change expected fail to successChris Packham, Feb 9, 2010
  12. Junio C HamanoFeb 9, 2010
  13. Jeff KingFeb 10, 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.