summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-09-15 12:39:22 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-09-15 12:39:22 -0700
commitd42cb5804f9c52b88b6dfe709a659e31394ea2ae (patch)
tree097a23aa9d5dc1f729877aa51973dcb5d0af5608 /t
parentMerge branch 'ks/recursive-rename-add-identical' (diff)
parentbundle: detect if bundle file cannot be created (diff)
downloadtgif-d42cb5804f9c52b88b6dfe709a659e31394ea2ae.tar.xz
Merge branch 'ch/maint-cannot-create-bundle-error'
* ch/maint-cannot-create-bundle-error: bundle: detect if bundle file cannot be created
Diffstat (limited to 't')
-rwxr-xr-xt/t5704-bundle.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t5704-bundle.sh b/t/t5704-bundle.sh
index ddc3dc52f4..728ccd88c3 100755
--- a/t/t5704-bundle.sh
+++ b/t/t5704-bundle.sh
@@ -30,6 +30,13 @@ test_expect_success 'tags can be excluded by rev-list options' '
'
+test_expect_success 'die if bundle file cannot be created' '
+
+ mkdir adir &&
+ test_must_fail git bundle create adir --all
+
+'
+
test_expect_failure 'bundle --stdin' '
echo master | git bundle create stdin-bundle.bdl --stdin &&