aboutsummaryrefslogtreecommitdiff
path: root/t/t5516-fetch-push.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-04-03 09:34:48 -0700
committerJunio C Hamano <gitster@pobox.com>2013-04-03 09:34:49 -0700
commit41ae34d136e623cb4a6c6096d905dc648daabfb9 (patch)
tree4ffd6d65c6f31bece4bbff4208f26a5981404bbb /t/t5516-fetch-push.sh
parente3b1173fb1233197fcaabbce84b9a0f33d24d09b (diff)
parentc68c408a7a53736ae087a68ad0ce2cf7c4cab0a2 (diff)
downloadgit-41ae34d136e623cb4a6c6096d905dc648daabfb9.tar.gz
git-41ae34d136e623cb4a6c6096d905dc648daabfb9.tar.xz
Merge branch 'jc/t5516-pushInsteadOf-vs-pushURL'
Update a test to match the documented interaction between pushURL and pushInsteadOf. * jc/t5516-pushInsteadOf-vs-pushURL: t5516: test interaction between pushURL and pushInsteadOf correctly
Diffstat (limited to 't/t5516-fetch-push.sh')
-rwxr-xr-xt/t5516-fetch-push.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh
index 383a2eb1e..32ad89107 100755
--- a/t/t5516-fetch-push.sh
+++ b/t/t5516-fetch-push.sh
@@ -217,10 +217,10 @@ test_expect_success 'push with pushInsteadOf' '
test_expect_success 'push with pushInsteadOf and explicit pushurl (pushInsteadOf should not rewrite)' '
mk_empty &&
- TRASH="$(pwd)/" &&
- test_config "url.trash2/.pushInsteadOf" trash/ &&
+ test_config "url.trash2/.pushInsteadOf" testrepo/ &&
+ test_config "url.trash3/.pusnInsteadOf" trash/wrong &&
test_config remote.r.url trash/wrong &&
- test_config remote.r.pushurl "$TRASH/testrepo" &&
+ test_config remote.r.pushurl "testrepo/" &&
git push r refs/heads/master:refs/remotes/origin/master &&
(
cd testrepo &&