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

Re: [PATCH] Improve legibility of test_expect_code output

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 20, 2012, 00:06 UTC
Message-ID
<7vboh1eew2.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1348094310-11214-1-git-send-email-git@adamspiers.org>
Adam Spiers <git@adamspiers.org> writes:
> ---
No explanation why this is a good idea, nor sign-off?
Show 18 quoted lines
>  t/test-lib-functions.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  mode change 100644 => 100755 t/test-lib-functions.sh
>
> diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh
> old mode 100644
> new mode 100755
> index 8889ba5..e022e73
> --- a/t/test-lib-functions.sh
> +++ b/t/test-lib-functions.sh
> @@ -562,7 +562,7 @@ test_expect_code () {
>  		return 0
>  	fi
>  
> -	echo >&2 "test_expect_code: command exited with $exit_code, we wanted $want_code $*"
> +	echo >&2 "test_expect_code: command exited with $exit_code, we wanted $want_code from: $*"
>  	return 1
>  }
Previous: Adam SpiersNext: Adam Spiers
Message 2 of 9 in “Improve legibility of test_expect_code output”
  1. Improve legibility of test_expect_code outputAdam Spiers, Sep 19, 2012
  2. Junio C HamanoSep 20, 2012
  3. Adam SpiersSep 20, 2012
  4. Junio C HamanoSep 20, 2012
  5. Adam SpiersSep 20, 2012
  6. Junio C HamanoSep 20, 2012
  7. Adam SpiersSep 20, 2012
  8. Junio C HamanoSep 20, 2012
  9. Adam SpiersSep 20, 2012

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.