summaryrefslogtreecommitdiff
path: root/t/lib-git-svn.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-05-14 20:45:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-05-14 20:45:16 (GMT)
commit761adeb4dba3305d0810b5340a71783d29484fb0 (patch)
tree4fb32f9d426394e845354e00553988a0f63003a3 /t/lib-git-svn.sh
parent486d1a56443fb19770a7d1abe08f1f4e9e44534d (diff)
parent4a7aaccd83a4f9eca17ca936b7c297e01840f587 (diff)
downloadgit-761adeb4dba3305d0810b5340a71783d29484fb0.zip
git-761adeb4dba3305d0810b5340a71783d29484fb0.tar.gz
git-761adeb4dba3305d0810b5340a71783d29484fb0.tar.bz2
Merge branch 'bd/tests'
* bd/tests: Rename the test trash directory to contain spaces. Fix tests breaking when checkout path contains shell metacharacters Don't use the 'export NAME=value' in the test scripts. lib-git-svn.sh: Fix quoting issues with paths containing shell metacharacters test-lib.sh: Fix some missing path quoting Use test_set_editor in t9001-send-email.sh test-lib.sh: Add a test_set_editor function to safely set $VISUAL git-send-email.perl: Handle shell metacharacters in $EDITOR properly config.c: Escape backslashes in section names properly git-rebase.sh: Fix --merge --abort failures when path contains whitespace Conflicts: t/t9115-git-svn-dcommit-funky-renames.sh
Diffstat (limited to 't/lib-git-svn.sh')
-rw-r--r--t/lib-git-svn.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/lib-git-svn.sh b/t/lib-git-svn.sh
index d8f3355..5d3bd9d 100644
--- a/t/lib-git-svn.sh
+++ b/t/lib-git-svn.sh
@@ -20,12 +20,13 @@ then
fi
svnrepo=$PWD/svnrepo
+export svnrepo
perl -w -e "
use SVN::Core;
use SVN::Repos;
\$SVN::Core::VERSION gt '1.1.0' or exit(42);
-system(qw/svnadmin create --fs-type fsfs/, '$svnrepo') == 0 or exit(41);
+system(qw/svnadmin create --fs-type fsfs/, \$ENV{svnrepo}) == 0 or exit(41);
" >&3 2>&4
x=$?
if test $x -ne 0