X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5704-bundle.sh;h=728ccd88c3d69f06bff2c3593ddc325f9186402c;hb=c7934306d1504325d26950f35759ad478772e9c3;hp=ddc3dc52f497d05e20cf4034d544df6d08632935;hpb=57af58e888165db623925f25e290f1b9472fd5c9;p=git.git diff --git a/t/t5704-bundle.sh b/t/t5704-bundle.sh index ddc3dc52f..728ccd88c 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 &&