Home
last modified time | relevance | path

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

/freebsd/contrib/libarchive/cpio/test/
H A Dtest_option_m.c5 * All rights reserved.
7 #include "test.h"
9 DEFINE_TEST(test_option_m) in DEFINE_TEST() argument
15 * second after the start of the epoch. in DEFINE_TEST()
18 /* Restored without -m, the result should have a current mtime. */ in DEFINE_TEST()
21 extract_reference_file("test_option_m.cpio"); in DEFINE_TEST()
22 r = systemf("%s --no-preserve-owner -i < test_option_m.cpio >out 2>err", testprog); in DEFINE_TEST()
26 /* Should have been created within the last few seconds. */ in DEFINE_TEST()
29 /* With -m, it should have an mtime in 1970. */ in DEFINE_TEST()
30 assertChdir(".."); in DEFINE_TEST()
[all …]
HDtest_option_m.cpio.uu1 begin 644 test_option_m.cpio
/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 …]