From ad382cded872249fa23515034c3ce6afd44b65b3 Mon Sep 17 00:00:00 2001 From: Michihiro NAKAJIMA Date: Sun, 6 Dec 2009 05:15:58 -0500 Subject: [PATCH] Add check of the number of the nlink to an xar test. SVN-Revision: 1706 --- libarchive/test/test_read_format_xar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libarchive/test/test_read_format_xar.c b/libarchive/test/test_read_format_xar.c index 9b1cf9692..a69667760 100644 --- a/libarchive/test/test_read_format_xar.c +++ b/libarchive/test/test_read_format_xar.c @@ -118,6 +118,7 @@ static void verify1(struct archive *a, struct archive_entry *ae) assertEqualString(archive_entry_hardlink(ae), "f1"); assert(archive_entry_symlink(ae) == NULL); assertEqualInt(archive_entry_mtime(ae), 86401); + assertEqualInt(archive_entry_nlink(ae), 2); } /* Verify that symlinks are read correctly. -- 2.47.3