Mercurial > hg
changeset 12404:f33a5d1c937e
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.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sat, 25 Sep 2010 02:35:35 +0200 |
parents | ba8850911703 |
children | 1f6abbd38783 |
files | tests/test-subrepo-svn.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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