[PATCH v2 6/7] Fix tests to work with core.autocrlf=true -- test_cmp to cmp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]