Lines Matching +full:test_basic +full:. +full:zip
5 * All rights reserved.
7 #include "test.h"
12 const char *reffile = "test_basic.zip";
15 assertMakeDir("test_basic", 0755);
16 assertMakeFile("test_basic/a", 0644, "orig a\n");
17 assertMakeFile("test_basic/b", 0644, "orig b\n");
20 r = systemf("%s -n %s >test.out 2>test.err", testprog, reffile);
22 assertNonEmptyFile("test.out");
23 assertEmptyFile("test.err");
25 assertTextFileContents("orig a\n", "test_basic/a");
26 assertTextFileContents("orig b\n", "test_basic/b");
27 assertTextFileContents("contents c\n", "test_basic/c");
28 assertTextFileContents("contents CAPS\n", "test_basic/CAPS");