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

[PATCH] t/t3800-mktag.sh: use test_must_fail rather than '!'

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Mar 26, 2008, 00:20 UTC
Message-ID
<47E996E4.5030108@nrlssc.navy.mil>
---
 t/t3800-mktag.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/t3800-mktag.sh b/t/t3800-mktag.sh
index 2780758..bdc6e13 100755
--- a/t/t3800-mktag.sh
+++ b/t/t3800-mktag.sh
@@ -14,7 +14,7 @@ test_description='git-mktag: tag object verify test'
 check_verify_failure () {
 	expect="$2"
 	test_expect_success "$1" '
-		( ! git-mktag <tag.sig 2>message ) &&
+		( test_must_fail git-mktag <tag.sig 2>message ) &&
 		grep "$expect" message
 	'
 }
-- 
1.5.4.4.481.g5075
Message 1 of 1 in “t/t3800-mktag.sh: use test_must_fail rather than '!'”
  1. t/t3800-mktag.sh: use test_must_fail rather than '!'Brandon Casey, Mar 26, 2008

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.