Lines Matching +full:test_basic +full:. +full:zip
5 * All rights reserved.
7 #include "test.h"
9 /* This test just does a basic zip decompression */
10 DEFINE_TEST(test_basic) in DEFINE_TEST() argument
12 const char *reffile = "test_basic.zip"; in DEFINE_TEST()
16 r = systemf("%s %s >test.out 2>test.err", testprog, reffile); in DEFINE_TEST()
18 assertNonEmptyFile("test.out"); in DEFINE_TEST()
19 assertEmptyFile("test.err"); in DEFINE_TEST()
21 assertTextFileContents("contents a\n", "test_basic/a"); in DEFINE_TEST()
22 assertTextFileContents("contents b\n", "test_basic/b"); in DEFINE_TEST()
23 assertTextFileContents("contents c\n", "test_basic/c"); in DEFINE_TEST()
24 assertTextFileContents("contents CAPS\n", "test_basic/CAPS"); in DEFINE_TEST()