From: Tim Kientzle Date: Sun, 7 Dec 2008 11:40:32 +0000 (-0500) Subject: The new and improved cpio -tv output relies on local system X-Git-Tag: v2.6.0~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c917aad5d50a71b10069215ddca87d25e715e46;p=thirdparty%2Flibarchive.git The new and improved cpio -tv output relies on local system 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 --- diff --git a/cpio/test/test_option_t.c b/cpio/test/test_option_t.c index c9cdd0bc8..1e4897c70 100644 --- a/cpio/test/test_option_t.c +++ b/cpio/test/test_option_t.c @@ -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"); */ }