test-subrepo-svn: restore expr functionality for solaris
Cleanup in
22f3353bcc36 removed a syntactically incorrect and apparently
unnecessary escape of / for expr - but solaris needs it.
--- a/tests/test-subrepo-svn.t Sat Sep 25 02:35:32 2010 +0200
+++ b/tests/test-subrepo-svn.t Sat Sep 25 02:35:35 2010 +0200
@@ -9,7 +9,7 @@
don't. Handle that.
$ escapedwd=`pwd | fix_path`
- $ expr "$escapedwd" : / > /dev/null || escapedwd="/$escapedwd"
+ $ expr "$escapedwd" : '\/' > /dev/null || escapedwd="/$escapedwd"
$ escapedwd=`python -c "import urllib, sys; sys.stdout.write(urllib.quote(sys.argv[1]))" "$escapedwd"`
create subversion repo