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

Re: [RFC/PATCH] t7011: Mark fixed test as such

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Nov 30, 2009, 13:18 UTC
Message-ID
<fcaeb9bf0911300518n4d4f96fdg28b13e45c2a4462d@mail.gmail.com>
In-Reply-To
<4B13BF3D.7010503@drmicha.warpmail.net>
On 11/30/09, Michael J Gruber <git@drmicha.warpmail.net> wrote:
Show 5 quoted lines
>  Regarding 16/17: Seeing a FIXED is very misleading. I caught it during
>  my work on a patch series and was confused. FIXED usually occurs only
>  while working on a fix, before adjusting the test. So, unless the reroll
>  of nd/sparse is to happen very soon, I still suggest marking it as
>  expect_success as proposed, and then modifying the test during the reroll.

I won't work on it until this weekend. If you insist, then better put command "true" after test_must_fail to indicate that the test is broken (could be line-wrapped by gmail, but it's simple enough to recreate)

diff --git a/t/t7011-skip-worktree-reading.sh b/t/t7011-skip-worktree-reading.sh
index e996928..da8dcbb 100755
--- a/t/t7011-skip-worktree-reading.sh
+++ b/t/t7011-skip-worktree-reading.sh
@@ -152,6 +152,7 @@ test_expect_failure 'commit on skip-worktree
absent entries' '
 	git reset &&
 	setup_absent &&
 	test_must_fail git commit -m null 1
+	true
 '

 test_expect_failure 'commit on skip-worktree dirty entries' '
-- 
Duy
Previous: Michael J Gruber
Message 6 of 6 in “t7011: Mark fixed test as such”
  1. t7011: Mark fixed test as suchMichael J Gruber, Nov 28, 2009
  2. Nguyen Thai Ngoc DuyNov 29, 2009
  3. Michael J GruberNov 29, 2009
  4. Nguyen Thai Ngoc DuyNov 30, 2009
  5. Michael J GruberNov 30, 2009
  6. Nguyen Thai Ngoc DuyNov 30, 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.