]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Minor test tightening.
authorTim Kientzle <kientzle@gmail.com>
Thu, 24 Sep 2009 15:08:23 +0000 (11:08 -0400)
committerTim Kientzle <kientzle@gmail.com>
Thu, 24 Sep 2009 15:08:23 +0000 (11:08 -0400)
SVN-Revision: 1464

tar/test/test_basic.c

index ed8785cac9cb33f8b8be07e3b7187f9d7d4ec8dd..4dc7cf6364f49c4d756fa2184e05779eccbddbea 100644 (file)
@@ -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())