summaryrefslogtreecommitdiffstats
path: root/t/t6200-fmt-merge-msg.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-05-14 22:45:16 +0200
committerJunio C Hamano <gitster@pobox.com>2008-05-14 22:45:16 +0200
commit761adeb4dba3305d0810b5340a71783d29484fb0 (patch)
tree4fb32f9d426394e845354e00553988a0f63003a3 /t/t6200-fmt-merge-msg.sh
parentMerge branch 'mv/format-cc' (diff)
parentRename the test trash directory to contain spaces. (diff)
downloadgit-761adeb4dba3305d0810b5340a71783d29484fb0.tar.xz
git-761adeb4dba3305d0810b5340a71783d29484fb0.zip
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/t6200-fmt-merge-msg.sh')
-rwxr-xr-xt/t6200-fmt-merge-msg.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t6200-fmt-merge-msg.sh b/t/t6200-fmt-merge-msg.sh
index bd4e49bf1e..c9bf6fdba3 100755
--- a/t/t6200-fmt-merge-msg.sh
+++ b/t/t6200-fmt-merge-msg.sh
@@ -82,14 +82,14 @@ test_expect_success 'merge-msg test #1' '
git diff actual expected
'
-cat >expected <<\EOF
-Merge branch 'left' of ../trash
+cat >expected <<EOF
+Merge branch 'left' of ../$test
EOF
test_expect_success 'merge-msg test #2' '
git checkout master &&
- git fetch ../trash left &&
+ git fetch ../"$test" left &&
git fmt-merge-msg <.git/FETCH_HEAD >actual &&
git diff actual expected