Lines Matching +full:test_extract +full:. +full:cpio +full:. +full:z
3 * All rights reserved.
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
12 * documentation and/or other materials provided with the distribution.
16 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 #include "test.h"
29 const char *reffile = "test_extract.cpio.Z";
32 assertEqualInt(0, systemf("%s -i < %s >test.out 2>test.err",
36 assertTextFileContents("contents of file1.\n", "file1");
38 assertTextFileContents("contents of file2.\n", "file2");
39 assertEmptyFile("test.out");
40 assertTextFileContents("1 block\n", "test.err");