summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-05-21 04:02:22 -0700
committerJunio C Hamano <gitster@pobox.com>2010-05-21 04:02:22 -0700
commitdfe0171c4e78f8c392514a825c363251794fba5d (patch)
treec0792fda1facee9e7185b1e8336cd5ef75a31c7a /t
parent4d544948167c577eff2a41df906e1ef89b36faee (diff)
parent97a20eea199f490760cc25b1b7df28361f54e536 (diff)
downloadgit-dfe0171c4e78f8c392514a825c363251794fba5d.tar.gz
Merge branch 'jn/maint-bundle'
* jn/maint-bundle: fix "bundle --stdin" segfault t5704 (bundle): add tests for bundle --stdin
Diffstat (limited to 't')
-rwxr-xr-xt/t5704-bundle.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/t5704-bundle.sh b/t/t5704-bundle.sh
index a8f4419e61..ddc3dc52f4 100755
--- a/t/t5704-bundle.sh
+++ b/t/t5704-bundle.sh
@@ -30,4 +30,20 @@ test_expect_success 'tags can be excluded by rev-list options' '
'
+test_expect_failure 'bundle --stdin' '
+
+ echo master | git bundle create stdin-bundle.bdl --stdin &&
+ git ls-remote stdin-bundle.bdl >output &&
+ grep master output
+
+'
+
+test_expect_failure 'bundle --stdin <rev-list options>' '
+
+ echo master | git bundle create hybrid-bundle.bdl --stdin tag &&
+ git ls-remote hybrid-bundle.bdl >output &&
+ grep master output
+
+'
+
test_done