diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-09-15 12:39:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-09-15 12:39:22 -0700 |
commit | d42cb5804f9c52b88b6dfe709a659e31394ea2ae (patch) | |
tree | 097a23aa9d5dc1f729877aa51973dcb5d0af5608 /t | |
parent | Merge branch 'ks/recursive-rename-add-identical' (diff) | |
parent | bundle: detect if bundle file cannot be created (diff) | |
download | tgif-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-x | t/t5704-bundle.sh | 7 |
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 && |