pull: add t5572 for submodule updates
[gitweb.git] / t / t5004-archive-corner-cases.sh
index f25f06b02209fbf72b9022a21d8ab9a90cb6628b..305bcac6b765111106887d4d24d99657c0554b5b 100755 (executable)
@@ -27,6 +27,7 @@ check_dir() {
        test_cmp expect actual
 }
 
+
 # bsdtar/libarchive versions before 3.1.3 consider a tar file with a
 # global pax header that is not followed by a file record as corrupt.
 if "$TAR" tf "$TEST_DIRECTORY"/t5004/empty-with-pax-header.tar >/dev/null 2>&1
@@ -44,7 +45,7 @@ test_expect_success HEADER_ONLY_TAR_OK 'tar archive of commit with empty tree' '
 test_expect_success 'tar archive of empty tree is empty' '
        git archive --format=tar HEAD: >empty.tar &&
        perl -e "print \"\\0\" x 10240" >10knuls.tar &&
-       test_cmp 10knuls.tar empty.tar
+       test_cmp_bin 10knuls.tar empty.tar
 '
 
 test_expect_success 'tar archive of empty tree with prefix' '