diff tests/test-globalopts @ 2319:04a18aaaca25

test-globalopts: make sed expression better.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 18 May 2006 23:02:24 -0700
parents 3dc6f2501dbc
children 049f930f18c1
line wrap: on
line diff
--- a/tests/test-globalopts	Thu May 18 22:52:19 2006 -0700
+++ b/tests/test-globalopts	Thu May 18 23:02:24 2006 -0700
@@ -62,7 +62,7 @@
 hg --cwd a --time tip 2>&1 | grep '^Time:' | sed 's/[0-9][0-9]*/x/g'
 
 echo %% --version
-hg --version -q | sed 's/version [a-f0-9+]*/version xxx/'
+hg --version -q | sed 's/version \([a-f0-9+]*\|unknown\)/version xxx/'
 
 echo %% -h/--help
 hg -h