]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
The new and improved cpio -tv output relies on local system
authorTim Kientzle <kientzle@gmail.com>
Sun, 7 Dec 2008 11:40:32 +0000 (06:40 -0500)
committerTim Kientzle <kientzle@gmail.com>
Sun, 7 Dec 2008 11:40:32 +0000 (06:40 -0500)
conventions, so a naive file comparison can't be used to test
it.  Someday, I'll put together code to carefully parse and verify
the format.  Until then, at least shut up the bogus warnings.
Submitted by:   Diego Petten\242

SVN-Revision: 270

cpio/test/test_option_t.c

index c9cdd0bc8a28637c76494a6a0c5d735128f9ec36..1e4897c7009cf03a2b29298143489edfc05463b6 100644 (file)
@@ -43,5 +43,9 @@ DEFINE_TEST(test_option_t)
        assertEqualInt(r, 0);
        assertFileContents("1 block\n", 8, "tv.err");
        extract_reference_file("test_option_tv.stdout");
-       assertEqualFile("tv.out", "test_option_tv.stdout");
+
+       /* This doesn't work because the usernames on different systems
+        * are different and cpio now looks up numeric UIDs on
+        * the local system. */
+       /* assertEqualFile("tv.out", "test_option_tv.stdout"); */
 }