X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5530-upload-pack-error.sh;h=1a15817cd5f8e838812723ad14dbec59a108680c;hb=d6096f17d2d5d9ccb453aabf8edc6ee238b166fc;hp=8b0509106951c5ddf2995862bc2a3887c963bfe6;hpb=7385a42572977c000c361aaad3e5ec066bd240ec;p=git.git diff --git a/t/t5530-upload-pack-error.sh b/t/t5530-upload-pack-error.sh index 8b0509106..1a15817cd 100755 --- a/t/t5530-upload-pack-error.sh +++ b/t/t5530-upload-pack-error.sh @@ -27,7 +27,7 @@ test_expect_success 'setup and corrupt repository' ' ' test_expect_success 'fsck fails' ' - ! git fsck + test_must_fail git fsck ' test_expect_success 'upload-pack fails due to error in pack-objects' ' @@ -46,7 +46,7 @@ test_expect_success 'corrupt repo differently' ' ' test_expect_success 'fsck fails' ' - ! git fsck + test_must_fail git fsck ' test_expect_success 'upload-pack fails due to error in rev-list' ' @@ -66,7 +66,7 @@ test_expect_success 'create empty repository' ' test_expect_success 'fetch fails' ' - ! git fetch .. master + test_must_fail git fetch .. master '