X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft1302-repo-version.sh;h=8d305b43725f8cf60e7ee802df1923feb98eeae5;hb=a9645b780b698703cd7dee25051d6ce39b0544c6;hp=37fc1c8d36ba6e0a12c83d0c38c87a37863870e5;hpb=f1a8cc635455a65567d040349327b9ea4adb479b;p=git.git diff --git a/t/t1302-repo-version.sh b/t/t1302-repo-version.sh index 37fc1c8d3..8d305b437 100755 --- a/t/t1302-repo-version.sh +++ b/t/t1302-repo-version.sh @@ -40,7 +40,8 @@ test_expect_success 'gitdir required mode on normal repos' ' (git apply --check --index test.patch && cd test && git apply --check --index ../test.patch)' -test_expect_failure 'gitdir required mode on unsupported repo' ' - (cd test2 && git apply --check --index ../test.patch)' +test_expect_success 'gitdir required mode on unsupported repo' ' + (cd test2 && test_must_fail git apply --check --index ../test.patch) +' test_done