t7005-editor: Use $SHELL_PATH in the editor scripts
[git/dscho.git] / t / t9120-git-svn-clone-with-percent-escapes.sh
blobef2c0523cd4566b3d1c4925ba608efc16524546a
1 #!/bin/sh
3 # Copyright (c) 2008 Kevin Ballard
6 test_description='git svn clone with percent escapes'
7 . ./lib-git-svn.sh
9 test_expect_success 'setup svnrepo' '
10 mkdir project project/trunk project/branches project/tags &&
11 echo foo > project/trunk/foo &&
12 svn import -m "$test_description" project "$svnrepo/pr ject" &&
13 rm -rf project &&
14 start_httpd
17 if test "$SVN_HTTPD_PORT" = ""
18 then
19 test_expect_failure 'test clone with percent escapes - needs SVN_HTTPD_PORT set' 'false'
20 else
21 test_expect_success 'test clone with percent escapes' '
22 git svn clone "$svnrepo/pr%20ject" clone &&
23 cd clone &&
24 git rev-parse refs/${remotes_git_svn} &&
25 cd ..
29 stop_httpd
31 test_done