Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
http-push: when making directories, have a trailing slash in the path name
[gitweb.git]
/
t
/
t5540-http-push.sh
diff --git
a/t/t5540-http-push.sh
b/t/t5540-http-push.sh
index da9588645cd9d0054440e5ed3ba14f630c44f506..22cfbb6a2d5ec6d274a19fa716e834138411caa5 100755
(executable)
--- a/
t/t5540-http-push.sh
+++ b/
t/t5540-http-push.sh
@@
-76,6
+76,12
@@
test_expect_failure 'create and delete remote branch' '
test_must_fail git show-ref --verify refs/remotes/origin/dev
'
+test_expect_success 'MKCOL sends directory names with trailing slashes' '
+
+ ! grep "\"MKCOL.*[^/] HTTP/[^ ]*\"" < "$HTTPD_ROOT_PATH"/access.log
+
+'
+
stop_httpd
test_done