]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
On Windows, pass test_option_m in bsdcpio_test.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Fri, 13 Mar 2009 12:07:16 +0000 (08:07 -0400)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Fri, 13 Mar 2009 12:07:16 +0000 (08:07 -0400)
SVN-Revision: 766

cpio/test/test_option_m.c

index d5bbad2e902e4c86fa0762cd51ee57accd8d8583..7f8e9019d82e8f1f5c86c751cde5ea983150a209 100644 (file)
@@ -45,7 +45,7 @@ DEFINE_TEST(test_option_m)
        now = time(NULL);
        assertEqualInt(r, 0);
        assertEmptyFile("out");
-       assertFileContents("1 block\n", 8, "err");
+       assertTextFileContents("1 block\n", "err");
        assertEqualInt(0, stat("file", &st));
        /* Should have been created within the last few seconds. */
        assert(st.st_mtime <= now);
@@ -60,7 +60,7 @@ DEFINE_TEST(test_option_m)
        now = time(NULL);
        assertEqualInt(r, 0);
        assertEmptyFile("out");
-       assertFileContents("1 block\n", 8, "err");
+       assertTextFileContents("1 block\n", "err");
        assertEqualInt(0, stat("file", &st));
        /*
         * mtime in reference archive is '1' == 1 second after