Lines Matching +full:test_extract +full:. +full:tar +full:. +full:zst
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"
30 const char *reffile = "test_extract.tar.zst";
34 f = systemf("%s -tf %s >test.out 2>test.err", testprog, reffile);
36 assertEqualInt(0, systemf("%s -xf %s >test.out 2>test.err",
40 assertTextFileContents("contents of file1.\n", "file1");
42 assertTextFileContents("contents of file2.\n", "file2");
43 assertEmptyFile("test.out");
44 assertEmptyFile("test.err");