]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Disable the check for the exact output of "-tnv". The
authorTim Kientzle <kientzle@gmail.com>
Thu, 16 Apr 2009 17:42:49 +0000 (13:42 -0400)
committerTim Kientzle <kientzle@gmail.com>
Thu, 16 Apr 2009 17:42:49 +0000 (13:42 -0400)
localized time display screws up this test.

SVN-Revision: 1004

cpio/test/test_option_t.c
cpio/test/test_option_tnv.stdout.uu

index cffa1f23d9740761d6e4ea115685bb7eeff8a7b2..1c9af1921b6b3a9440697ad7b984e31f7f15ed7a 100644 (file)
@@ -73,7 +73,10 @@ DEFINE_TEST(test_option_t)
        assertTextFileContents("1 block\n", "itnv.err");
        extract_reference_file("test_option_tnv.stdout");
        /* This does work because numeric IDs come from archive. */
-       assertEqualFile("itnv.out", "test_option_tnv.stdout");
+       /* Unfortunately, the timestamp still gets localized, so
+        * we can't just compare against a fixed result. */
+       /* TODO: Fix this. */
+       /* assertEqualFile("itnv.out", "test_option_tnv.stdout"); */
 
        /* But "-n" without "-t" is an error. */
        assert(0 != systemf("%s -in < test_option_t.cpio >in.out 2>in.err",
index 110f9f1b79bbe7211799d46f0265c14fa396fd0f..8f9561e4836314a5762de875c1673dfaae60ccd5 100644 (file)
@@ -1,5 +1,5 @@
 begin 644 test_option_tnv.stdout
-M+7)W+7(M+7(M+2`@(#$@,3`P,"`@("`@,3`P,"`@("`@("`@("`@(#`@1&5C
-/(#,Q("`Q.38Y(&9I;&4*
+M+7)W+7(M+7(M+2`@(#$@,3`P,"`@("`@,3`P,"`@("`@("`@("`@(#`@2F%N
+/("`Q("`Q.3<P(&9I;&4*
 `
 end