test-globalopts: make sed expression better.
authorVadim Gelfer <vadim.gelfer@gmail.com>
Thu, 18 May 2006 23:02:24 -0700
changeset 2319 04a18aaaca25
parent 2318 94d628499235
child 2320 dbdce3b99988
test-globalopts: make sed expression better.
tests/test-globalopts
--- 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