Home
last modified time | relevance | path

Searched +full:test_extract +full:. +full:cpio +full:. +full:lz (Results 1 – 3 of 3) sorted by relevance

/freebsd/usr.bin/cpio/tests/
H A DMakefile11 CFLAGS+= -DPLATFORM_CONFIG_H=\"${SRCTOP}/lib/libarchive/config_freebsd.h\"
12 CFLAGS+= -I${SRCTOP}/lib/libarchive -I${.OBJDIR}
14 CFLAGS+= -I${.OBJDIR}
15 CFLAGS+= -I${_LIBARCHIVEDIR}/cpio -I${_LIBARCHIVEDIR}/cpio/test
23 CFLAGS.test_utils.c+= -Wno-cast-align
25 .PATH: ${_LIBARCHIVEDIR}/cpio
26 CPIO_SRCS= cmdline.c
28 .PATH: ${_LIBARCHIVEDIR}/libarchive_fe
29 CPIO_SRCS+= err.c
31 .PATH: ${_LIBARCHIVEDIR}/cpio/test
[all …]
/freebsd/contrib/libarchive/cpio/test/
HDtest_extract.cpio.lz.uu1 begin 664 test_extract.cpio.lz
H A Dtest_extract_cpio_lz.c5 * All rights reserved.
7 #include "test.h"
11 const char *reffile = "test_extract.cpio.lz"; in DEFINE_TEST()
15 f = systemf("%s -it < %s >test.out 2>test.err", testprog, reffile); in DEFINE_TEST()
17 assertEqualInt(0, systemf("%s -i < %s >test.out 2>test.err", in DEFINE_TEST()
21 assertTextFileContents("contents of file1.\n", "file1"); in DEFINE_TEST()
23 assertTextFileContents("contents of file2.\n", "file2"); in DEFINE_TEST()
24 assertEmptyFile("test.out"); in DEFINE_TEST()
25 assertTextFileContents("1 block\n", "test.err"); in DEFINE_TEST()