X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft2005-checkout-index-symlinks.sh;h=9fa561047430ae40a1860131a024e4fd7744f5cb;hb=ef3b38b445c183b2a07a6360de62908d312ade0f;hp=a84c5a6af9e69ffec7689827ce1ba653a658a73f;hpb=5071877d2c623ffc41b48bbb49908a61051a6228;p=git.git diff --git a/t/t2005-checkout-index-symlinks.sh b/t/t2005-checkout-index-symlinks.sh index a84c5a6af..9fa561047 100755 --- a/t/t2005-checkout-index-symlinks.sh +++ b/t/t2005-checkout-index-symlinks.sh @@ -13,7 +13,7 @@ file if core.symlinks is 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 \ @@ -23,6 +23,6 @@ test -f symlink' 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