t1512: skip test if not using SHA-1
[gitweb.git] / t / t4200-rerere.sh
index eaf18c81cbffe012663fae3a537ef8302d6c7b31..8417e5a4b105a54a8de23af8bae2bdaf28c257cb 100755 (executable)
@@ -243,7 +243,7 @@ rerere_gc_custom_expiry_test () {
        five_days="$1" right_now="$2"
        test_expect_success "rerere gc with custom expiry ($five_days, $right_now)" '
                rm -fr .git/rr-cache &&
-               rr=.git/rr-cache/$_z40 &&
+               rr=.git/rr-cache/$ZERO_OID &&
                mkdir -p "$rr" &&
                >"$rr/preimage" &&
                >"$rr/postimage" &&