diff tests/test-mq @ 2843:0b9ac7dfcf56

Fix some tests for portability.
author Danek Duvall <danek.duvall@sun.com>
date Wed, 09 Aug 2006 12:05:40 -0700
parents 8ce86d2c9737
children b8d587cfa3bb
line wrap: on
line diff
--- a/tests/test-mq	Wed Aug 09 13:55:18 2006 -0500
+++ b/tests/test-mq	Wed Aug 09 12:05:40 2006 -0700
@@ -48,7 +48,7 @@
 
 echo a >> a
 hg qrefresh
-sed -e "s/\(^diff -r \)\([a-f0-9]* \)/\1 x/" \
+sed -e "s/^\(diff -r \)\([a-f0-9]* \)/\1 x/" \
     -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
     -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/" .hg/patches/test.patch