t5701: skip hardlink test

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2007-08-29 17:57:08 +01:00
parent 5464a3f4b7
commit 685268d9a1

View File

@@ -57,6 +57,10 @@ test_expect_success 'With -no-hardlinks, local will make a copy' '
test $(find objects -type f ! -links 1 | wc -l) = 0
'
say "hardlinks not supported, skipping tests."
test_done
exit 0
test_expect_success 'Even without -l, local will make a hardlink' '
cd "$D" &&
rm -fr w &&