changeset 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 94d628499235
children dbdce3b99988
files tests/test-globalopts
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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