test: use $_z40 from test-lib
[gitweb.git] / t / t3600-rm.sh
index b26cabd571503696a2bfa356e4f6ac46febf74ba..66523bd8ba95b6075a06cb668e1eb5b0a0eff9f1 100755 (executable)
@@ -240,11 +240,10 @@ test_expect_success 'refresh index before checking if it is up-to-date' '
 
 test_expect_success 'choking "git rm" should not let it die with cruft' '
        git reset -q --hard &&
-       H=0000000000000000000000000000000000000000 &&
        i=0 &&
        while test $i -lt 12000
        do
-           echo "100644 $H 0   some-file-$i"
+           echo "100644 $_z40 0        some-file-$i"
            i=$(( $i + 1 ))
        done | git update-index --index-info &&
        git rm -n "some-file-*" | :;