index 37fc1c8d36ba6e0a12c83d0c38c87a37863870e5..8d305b43725f8cf60e7ee802df1923feb98eeae5 100755 (executable)
--- a/t/t1302-repo-version.sh
+++ b/t/t1302-repo-version.sh
(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