test-extension: Solaris grep don't know [[:digit:]]
authorMads Kiilerich <mads@kiilerich.com>
Sun, 08 Nov 2009 18:50:39 +0100
changeset 9802 4ce13d7c6b88
parent 9801 8b7d4ab33b2b
child 9805 a40ec11795c3
test-extension: Solaris grep don't know [[:digit:]]
tests/test-extension
--- a/tests/test-extension	Sun Nov 08 18:18:46 2009 +0100
+++ b/tests/test-extension	Sun Nov 08 18:50:39 2009 +0100
@@ -87,7 +87,7 @@
 wsgicgi.launch(application)
 EOF
 SCRIPT_NAME='/' SERVER_PORT='80' SERVER_NAME='localhost' python hgweb.cgi \
-    | grep '^[[:digit:]]) [[:alnum:] ]*$'  # ignores HTML output
+    | grep '^[0-9]) ' # ignores HTML output
 
 echo 'foo = !' >> $HGRCPATH
 echo 'bar = !' >> $HGRCPATH