Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-09-15 23:39:22 +0400
committerJunio C Hamano <gitster@pobox.com>2010-09-15 23:39:22 +0400
commitd42cb5804f9c52b88b6dfe709a659e31394ea2ae (patch)
tree097a23aa9d5dc1f729877aa51973dcb5d0af5608 /t
parent9f0ccb5b0ac067b3408d3776bb06f85acd4a1e7e (diff)
parent0f5cdf653b8be5b8fad3fb2a3eaecfb9da80d215 (diff)
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 &&