index a84c5a6af9e69ffec7689827ce1ba653a658a73f..9fa561047430ae40a1860131a024e4fd7744f5cb 100755 (executable)
test_expect_success \
'preparation' '
git config core.symlinks false &&
test_expect_success \
'preparation' '
git config core.symlinks false &&
-l=$(echo -n file | git-hash-object -t blob -w --stdin) &&
+l=$(printf file | git hash-object -t blob -w --stdin) &&
echo "120000 $l symlink" | git update-index --index-info'
test_expect_success \
echo "120000 $l symlink" | git update-index --index-info'
test_expect_success \
test_expect_success \
'the file must be the blob we added during the setup' '
test_expect_success \
'the file must be the blob we added during the setup' '
-test "$(git-hash-object -t blob symlink)" = $l'
+test "$(git hash-object -t blob symlink)" = $l'
test_done
test_done