From: Tim Kientzle Date: Thu, 24 Sep 2009 15:08:23 +0000 (-0400) Subject: Minor test tightening. X-Git-Tag: v2.8.0~344 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df04164d1702f33b988e8f191c48251f9126f3a9;p=thirdparty%2Flibarchive.git Minor test tightening. SVN-Revision: 1464 --- diff --git a/tar/test/test_basic.c b/tar/test/test_basic.c index ed8785cac..4dc7cf636 100644 --- a/tar/test/test_basic.c +++ b/tar/test/test_basic.c @@ -61,6 +61,7 @@ basic_tar(const char *target, const char *pack_options, /* Regular file with 2 links. */ assertIsReg("file", -1); assertFileSize("file", 10); + failure("%s", target); assertFileNLinks("file", 2); /* Another name for the same file. */ @@ -93,6 +94,7 @@ DEFINE_TEST(test_basic) /* hardlink to above file. */ assertMakeHardlink("linkfile", "file"); + assertIsHardlink("file", "linkfile"); /* Symlink to above file. */ if (canSymlink())