about summary refs log tree commit homepage
path: root/t/httpd.t
diff options
context:
space:
mode:
Diffstat (limited to 't/httpd.t')
-rw-r--r--t/httpd.t9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/httpd.t b/t/httpd.t
index 28f507db..03790311 100644
--- a/t/httpd.t
+++ b/t/httpd.t
@@ -105,6 +105,15 @@ EOF
         is(system(qw(git clone -q --mirror),
                         "http://$host:$port/$group", "$tmpdir/clone.git"),
                 0, 'clone successful');
+
+        # ensure dumb cloning works, too:
+        is(system('git', "--git-dir=$maindir",
+                qw(config http.uploadpack false)),
+                0, 'disable http.uploadpack');
+        is(system(qw(git clone -q --mirror),
+                        "http://$host:$port/$group", "$tmpdir/dumb.git"),
+                0, 'clone successful');
+
         ok(kill('TERM', $pid), 'killed httpd');
         $pid = undef;
         waitpid(-1, 0);