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

[PATCH] make t8001 work on Mac OS X again

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 7, 2007, 00:48 UTC
Message-ID
<20070307004859.GA26262@spearce.org>
In-Reply-To
<20070307001410.GA26050@spearce.org>
From: Johannes Schindelin <Johannes.Schindelin@gmx.de>

It has a broken sed which adds a newline to the last line, if it does not end with one.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
---
	From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
	> Does this work for you?
	Yes.  ;-)
 t/annotate-tests.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/t/annotate-tests.sh b/t/annotate-tests.sh
index 87403da..cacb273 100644
--- a/t/annotate-tests.sh
+++ b/t/annotate-tests.sh
@@ -114,7 +114,8 @@ test_expect_success \
 test_expect_success \
     'some edit' \
     'mv file file.orig &&
-    sed -e "s/^3A/99/" -e "/^1A/d" < file.orig > file &&
+    sed -e "s/^3A/99/" -e "/^1A/d" -e "/^incomplete/d" < file.orig > file &&
+    echo "incomplete" | tr -d "\\012" >>file &&
     GIT_AUTHOR_NAME="D" git commit -a -m "edit"'
 
 test_expect_success \
Previous: Shawn O. PearceNext: Junio C Hamano
Message 3 of 5 in “Support of "make -s" in git-gui: do not output anything of the build itself”
  1. Support of "make -s" in git-gui: do not output anything of the build itselfAlex Riesen, Mar 6, 2007
  2. Shawn O. PearceMar 7, 2007
  3. make t8001 work on Mac OS X againShawn O. Pearce, Mar 7, 2007
  4. Junio C HamanoMar 7, 2007
  5. Junio C HamanoMar 7, 2007

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.