Showing 1 changed files with 12 additions and 1 deletions
+12 -1
xt/smart_http.t
... ...
@@ -124,4 +124,15 @@ EOS
124 124
   $t->content_like(qr/report-status/);
125 125
   $t->content_like(qr/delete-refs/);
126 126
   $t->content_like(qr/ofs-delta/);
127
-}
127
+  
128
+  # /git-receive-pack
129
+  $t->post_ok(
130
+    '/kimoto/t1.git/git-receive-pack',
131
+    {
132
+      'Content-Type' => 'application/x-git-receive-pack-request',
133
+      Content => '00810000000000000000000000000000000000000000 6410316f2ed260666a8a6b9a223ad3c95d7abaed refs/tags/v1.0. report-status side-band-64k0000'
134
+    }
135
+  );
136
+  $t->status_is(200);
137
+  $t->content_type_is('application/x-git-receive-pack-result');
138
+}