tests: add a special setup where prerequisites fail
[gitweb.git] / t / t1450-fsck.sh
index 49f08d5b9c078412af8ee6343519094521c86c24..0f268a36642760906b59bc9a8db28a29fcb962fa 100755 (executable)
@@ -256,10 +256,6 @@ test_expect_success 'unparseable tree object' '
        test_i18ngrep ! "fatal: empty filename in tree entry" out
 '
 
-hex2oct() {
-       perl -ne 'printf "\\%03o", hex for /../g'
-}
-
 test_expect_success 'tree entry with type mismatch' '
        test_when_finished "remove_object \$blob" &&
        test_when_finished "remove_object \$tree" &&