[PATCH v2 6/7] Fix tests to work with core.autocrlf=true -- test_cmp to cmp
- From
- Don Slutz <don.slutz@sierraatlantic.com>
- Date
- May 13, 2009, 19:35 UTC
- Message-ID
- <1242243348-6690-7-git-send-email-Don.Slutz@SierraAtlantic.com>
- In-Reply-To
- <1242243348-6690-6-git-send-email-Don.Slutz@SierraAtlantic.com>
Switch from using test_cmp to using cmp in these tests. They are checking for correct CRLF handling.
Signed-off-by: Don Slutz <Don.Slutz@SierraAtlantic.com> --- t/t0024-crlf-archive.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/t0024-crlf-archive.sh b/t/t0024-crlf-archive.sh index c7d0324..af084e5 100755 --- a/t/t0024-crlf-archive.sh +++ b/t/t0024-crlf-archive.sh @@ -22,7 +22,7 @@ test_expect_success 'tar archive' ' git archive --format=tar HEAD | ( mkdir untarred && cd untarred && "$TAR" -xf - ) - test_cmp sample untarred/sample + cmp sample untarred/sample ' @@ -39,7 +39,7 @@ test_expect_success UNZIP 'zip archive' ' ( mkdir unzipped && cd unzipped && unzip ../test.zip ) && - test_cmp sample unzipped/sample + cmp sample unzipped/sample '
-- 1.6.3.15.g49878