git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] posix compatibility for t4200
@ 2007-05-02 21:53 Bryan Larsen
  0 siblings, 0 replies; only message in thread
From: Bryan Larsen @ 2007-05-02 21:53 UTC (permalink / raw)
  To: git

Fix t4200 so that it also works on OS X by not relying on gnu extensions 
to sed.

Signed-off-by: Bryan Larsen <bryan@larsen.st>
---
  t/t4200-rerere.sh |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/t4200-rerere.sh b/t/t4200-rerere.sh
index 6ba63d7..300e90e 100755
--- a/t/t4200-rerere.sh
+++ b/t/t4200-rerere.sh
@@ -44,7 +44,7 @@ mkdir .git/rr-cache

  test_expect_failure 'conflicting merge' 'git pull . first'

-sha1=$(sed -e 's/\t.*//' .git/rr-cache/MERGE_RR)
+sha1=$(sed -e 's/[[:space:]].*//' .git/rr-cache/MERGE_RR)
  rr=.git/rr-cache/$sha1
  test_expect_success 'recorded preimage' "grep ======= $rr/preimage"

-- 
1.5.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-02 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-02 21:53 [PATCH] posix compatibility for t4200 Bryan Larsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).