]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t1450-fsck.sh
Sync with 2.17.3
[thirdparty/git.git] / t / t1450-fsck.sh
index 33c955f912418cc0ec971c47ba73a3c561ca2d06..561a9b5c786dbbc5a6d73be376d74c79ad2e6686 100755 (executable)
@@ -714,7 +714,7 @@ test_expect_success 'fsck notices dangling objects' '
 
 test_expect_success 'fsck $name notices bogus $name' '
        test_must_fail git fsck bogus &&
-       test_must_fail git fsck $_z40
+       test_must_fail git fsck $ZERO_OID
 '
 
 test_expect_success 'bogus head does not fallback to all heads' '
@@ -724,7 +724,7 @@ test_expect_success 'bogus head does not fallback to all heads' '
        blob=$(git rev-parse :foo) &&
        test_when_finished "git rm --cached foo" &&
        remove_object $blob &&
-       test_must_fail git fsck $_z40 >out 2>&1 &&
+       test_must_fail git fsck $ZERO_OID >out 2>&1 &&
        ! grep $blob out
 '