tests/test-subrepo-svn.t
changeset 12404 f33a5d1c937e
parent 12377 a5b77eb0409b
child 12640 6cc4b14fb76b
--- 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