]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix test case for positive time zones.
authorJoerg Sonnenberger <joerg.sonnenberger@gmail.com>
Tue, 26 May 2009 09:24:51 +0000 (05:24 -0400)
committerJoerg Sonnenberger <joerg.sonnenberger@gmail.com>
Tue, 26 May 2009 09:24:51 +0000 (05:24 -0400)
SVN-Revision: 1114

cpio/test/test_option_t.c

index 24df575b2856deaa0a6e8cb734f818fc50197a18..81b019bb0e4e818e3ce836878f38da328f9ba402 100644 (file)
@@ -78,7 +78,7 @@ DEFINE_TEST(test_option_t)
        /* The date might vary depending on what timezone we're in.
         * 1 second past the Epoch can only be one of two dates. */
        if (strcmp(p + 42, "Dec 31  1969 file\n") != 0)
-               assertEqualString(p + 42, "Jan  1  1970  file\n");
+               assertEqualString(p + 42, "Jan  1  1970 file\n");
        free(p);
 
        /* But "-n" without "-t" is an error. */