Skip to contentSkip to conversation

Update HTTPD/daemon tests for new push.default

PATCH In review Brian Gernhardt 2 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

cover Update HTTPD/daemon tests for new push.default

I saw a string of these commits already, but found a few more when running the test suite.

Brian Gernhardt (3):
t5550: do not assume the "matching" push is the default
t5551: do not assume the "matching" push is the default
t5570: do not assume the "matching" push is the default

 t/t5550-http-fetch.sh | 1 +
 t/t5551-http-fetch.sh | 1 +
 t/t5570-git-daemon.sh | 1 +
 3 files changed, 3 insertions(+)
Signature · 1 line
1.8.1.rc1.222.gec797b3
#1 lore raw

PATCH 1/3 t5550: do not assume the "matching" push is the default

---
 t/t5550-http-fetch.sh | 1 +
 1 file changed, 1 insertion(+)
t/t5550-http-fetch.sh +1 -0
index 80d20c8..f7d0f14 100755
@@ -13,6 +13,7 @@ LIB_HTTPD_PORT=${LIB_HTTPD_PORT-'5550'}
 start_httpd
 
 test_expect_success 'setup repository' '
+	git config push.default matching &&
 	echo content1 >file &&
 	git add file &&
 	git commit -m one
Signature · 1 line
1.8.1.rc1.222.gec797b3
#3 lore raw

PATCH 2/3 t5551: do not assume the "matching" push is the default

In reply to Brian Gernhardt
---
 t/t5551-http-fetch.sh | 1 +
 1 file changed, 1 insertion(+)
t/t5551-http-fetch.sh +1 -0
index c5cd2e3..1b55086 100755
@@ -13,6 +13,7 @@ LIB_HTTPD_PORT=${LIB_HTTPD_PORT-'5551'}
 start_httpd
 
 test_expect_success 'setup repository' '
+	git config push.default matching &&
 	echo content >file &&
 	git add file &&
 	git commit -m one
Signature · 1 line
1.8.1.rc1.222.gec797b3
#4 lore raw

PATCH 3/3 t5570: do not assume the "matching" push is the default

In reply to Brian Gernhardt
---
 t/t5570-git-daemon.sh | 1 +
 1 file changed, 1 insertion(+)
t/t5570-git-daemon.sh +1 -0
index a3a4e47..f01edff 100755
@@ -8,6 +8,7 @@ LIB_GIT_DAEMON_PORT=${LIB_GIT_DAEMON_PORT-5570}
 start_git_daemon
 
 test_expect_success 'setup repository' '
+	git config push.default matching &&
 	echo content >file &&
 	git add file &&
 	git commit -m one
Signature · 1 line
1.8.1.rc1.222.gec797b3