head	1.13;
access;
symbols
	RELENG_8_4:1.13.0.2
	RELENG_9_1_0_RELEASE:1.8.2.2.2.2
	RELENG_9_1:1.8.2.2.0.2
	RELENG_9_1_BP:1.8.2.2
	RELENG_8_3_0_RELEASE:1.4.2.3.2.1
	RELENG_8_3:1.4.2.3.0.2
	RELENG_8_3_BP:1.4.2.3
	RELENG_9_0_0_RELEASE:1.8.2.1.2.1
	RELENG_9_0:1.8.2.1.0.2
	RELENG_9_0_BP:1.8.2.1
	RELENG_9:1.8.0.2
	RELENG_9_BP:1.8
	RELENG_8_2_0_RELEASE:1.4.2.1.6.1
	RELENG_8_2:1.4.2.1.0.6
	RELENG_8_2_BP:1.4.2.1
	RELENG_8_1_0_RELEASE:1.4.2.1.4.1
	RELENG_8_1:1.4.2.1.0.4
	RELENG_8_1_BP:1.4.2.1
	RELENG_8_0_0_RELEASE:1.4.2.1.2.1
	RELENG_8_0:1.4.2.1.0.2
	RELENG_8_0_BP:1.4.2.1
	RELENG_8:1.4.0.2
	RELENG_8_BP:1.4;
locks; strict;
comment	@# @;


1.13
date	2013.03.23.02.25.00;	author svnexp;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2012.11.17.01.54.17;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2012.07.28.06.38.44;	author mm;	state Exp;
branches;
next	1.10;

1.10
date	2012.02.25.10.58.02;	author mm;	state Exp;
branches;
next	1.9;

1.9
date	2011.12.22.08.42.07;	author mm;	state Exp;
branches;
next	1.8;

1.8
date	2011.07.17.21.52.55;	author mm;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2011.07.17.21.42.22;	author mm;	state Exp;
branches;
next	1.6;

1.6
date	2010.05.10.15.28.44;	author mm;	state Exp;
branches;
next	1.5;

1.5
date	2010.01.02.10.27.05;	author ed;	state Exp;
branches;
next	1.4;

1.4
date	2008.08.24.05.49.36;	author kientzle;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2008.08.24.05.14.03;	author kientzle;	state Exp;
branches;
next	1.2;

1.2
date	2008.08.24.04.58.22;	author kientzle;	state Exp;
branches;
next	1.1;

1.1
date	2008.05.26.17.15.35;	author kientzle;	state Exp;
branches;
next	;

1.13.2.1
date	2013.03.23.02.25.00;	author svnexp;	state dead;
branches;
next	1.13.2.2;

1.13.2.2
date	2013.03.28.13.06.01;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.8.2.1.2.1;
next	1.8.2.2;

1.8.2.2
date	2012.01.05.12.52.05;	author mm;	state Exp;
branches
	1.8.2.2.2.1;
next	1.8.2.3;

1.8.2.3
date	2012.11.17.11.37.38;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.8.2.1.2.2;

1.8.2.1.2.2
date	2012.11.17.08.37.34;	author svnexp;	state Exp;
branches;
next	;

1.8.2.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.8.2.2.2.2;

1.8.2.2.2.2
date	2012.11.17.08.48.25;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.4.2.1.2.1
	1.4.2.1.4.1
	1.4.2.1.6.1;
next	1.4.2.2;

1.4.2.2
date	2011.08.01.07.59.54;	author mm;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2012.01.05.12.57.14;	author mm;	state Exp;
branches
	1.4.2.3.2.1;
next	1.4.2.4;

1.4.2.4
date	2012.11.17.10.37.16;	author svnexp;	state Exp;
branches;
next	;

1.4.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.4.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.4.2.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.4.2.3.2.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.4.2.3.2.2;

1.4.2.3.2.2
date	2012.11.17.08.25.49;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.13
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248616
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/usr.bin/cpio/test/Makefile 248616 2013-03-22 13:36:03Z mm $

LIBARCHIVEDIR=	${.CURDIR}/../../../contrib/libarchive

.PATH:	${LIBARCHIVEDIR}/cpio
CPIO_SRCS= cmdline.c

.PATH:	${LIBARCHIVEDIR}/libarchive_fe
CPIO_SRCS+= err.c

.PATH:	${LIBARCHIVEDIR}/cpio/test
TESTS=	\
	test_0.c				\
	test_basic.c				\
	test_cmdline.c				\
	test_extract_cpio_Z.c			\
	test_extract_cpio_bz2.c			\
	test_extract_cpio_grz.c			\
	test_extract_cpio_gz.c			\
	test_extract_cpio_lrz.c			\
	test_extract_cpio_lz.c			\
	test_extract_cpio_lzma.c		\
	test_extract_cpio_lzo.c			\
	test_extract_cpio_xz.c			\
	test_format_newc.c			\
	test_gcpio_compat.c			\
	test_option_0.c				\
	test_option_B_upper.c			\
	test_option_C_upper.c			\
	test_option_J_upper.c			\
	test_option_L_upper.c			\
	test_option_Z_upper.c			\
	test_option_a.c				\
	test_option_b64encode.c			\
	test_option_c.c				\
	test_option_d.c				\
	test_option_f.c				\
	test_option_grzip.c			\
	test_option_help.c			\
	test_option_l.c				\
	test_option_lrzip.c			\
	test_option_lzma.c			\
	test_option_lzop.c			\
	test_option_m.c				\
	test_option_t.c				\
	test_option_u.c				\
	test_option_uuencode.c			\
	test_option_version.c			\
	test_option_xz.c			\
	test_option_y.c				\
	test_option_z.c				\
	test_owner_parse.c			\
	test_passthrough_dotdot.c		\
	test_passthrough_reverse.c

# Build the test program
SRCS= list.h					\
	${CPIO_SRCS}				\
	${TESTS}				\
	main.c

.PATH:	${LIBARCHIVEDIR}/test_utils
SRCS+=	test_utils.c

CLEANFILES+= list.h bsdcpio_test

NO_MAN=yes

PROG=bsdcpio_test
DPADD=${LIBARCHIVE} ${LIBBZ2} ${LIBZ} ${LIBLZMA}
CFLAGS+=	-DPLATFORM_CONFIG_H=\"${.CURDIR}/../../../lib/libarchive/config_freebsd.h\"
CFLAGS+=	-I${.CURDIR}/../../../lib/libarchive -I${.OBJDIR}
LDADD= -larchive -lz -lbz2 -llzma
#CFLAGS+= -static -g -O2 -Wall
CFLAGS+= -g -O2 -Wall
CFLAGS+= -I${.OBJDIR}
CFLAGS+= -I${LIBARCHIVEDIR}/cpio -I${LIBARCHIVEDIR}/libarchive_fe
CFLAGS+= -I${LIBARCHIVEDIR}/test_utils

# Uncomment to link against dmalloc
#LDADD+= -L/usr/local/lib -ldmalloc
#CFLAGS+= -I/usr/local/include -DUSE_DMALLOC

check test:	bsdcpio_test
	${.OBJDIR}/bsdcpio_test -p ${.OBJDIR}/../bsdcpio \
	-r ${LIBARCHIVEDIR}/cpio/test

${.OBJDIR}/list.h list.h: ${TESTS} Makefile
	(cd ${LIBARCHIVEDIR}/cpio/test; cat ${TESTS}) | \
	grep DEFINE_TEST > ${.OBJDIR}/list.h

clean:
	rm -f ${CLEANFILES}
	rm -f *~
	-chmod -R +w /tmp/bsdcpio_test.*
	rm -rf /tmp/bsdcpio_test.*

.include <bsd.prog.mk>
@


1.13.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:06:01 +0000
@
text
@d1 98
@


1.13.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 79
# $FreeBSD: releng/8.4/usr.bin/cpio/test/Makefile 229596 2012-01-05 12:57:14Z mm $

LIBARCHIVEDIR=	${.CURDIR}/../../../contrib/libarchive

.PATH:	${LIBARCHIVEDIR}/cpio
CPIO_SRCS= cmdline.c

.PATH:	${LIBARCHIVEDIR}/libarchive_fe
CPIO_SRCS+= err.c pathmatch.c

.PATH:	${LIBARCHIVEDIR}/cpio/test
TESTS=	\
	test_0.c				\
	test_basic.c				\
	test_format_newc.c			\
	test_gcpio_compat.c			\
	test_option_B_upper.c			\
	test_option_C_upper.c			\
	test_option_J_upper.c			\
	test_option_L_upper.c			\
	test_option_Z_upper.c			\
	test_option_a.c				\
	test_option_c.c				\
	test_option_d.c				\
	test_option_f.c				\
	test_option_help.c			\
	test_option_l.c				\
	test_option_lzma.c			\
	test_option_m.c				\
	test_option_t.c				\
	test_option_u.c				\
	test_option_version.c			\
	test_option_y.c				\
	test_option_z.c				\
	test_owner_parse.c			\
	test_passthrough_dotdot.c		\
	test_passthrough_reverse.c		\
	test_pathmatch.c

# Build the test program
SRCS= list.h					\
	${CPIO_SRCS}				\
	${TESTS}				\
	main.c

CLEANFILES+= list.h bsdcpio_test

NO_MAN=yes

PROG=bsdcpio_test
DPADD=${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
CFLAGS+=	-DPLATFORM_CONFIG_H=\"${.CURDIR}/../config_freebsd.h\"
CFLAGS+=	-I${.CURDIR}/..
LDADD= -larchive -lz -lbz2
#CFLAGS+= -static -g -O2 -Wall
CFLAGS+= -g -O2 -Wall
CFLAGS+= -I${.OBJDIR}
CFLAGS+= -I${LIBARCHIVEDIR}/cpio -I${LIBARCHIVEDIR}/libarchive_fe

# Uncomment to link against dmalloc
#LDADD+= -L/usr/local/lib -ldmalloc
#CFLAGS+= -I/usr/local/include -DUSE_DMALLOC
WARNS=6

check test:	bsdcpio_test
	${.OBJDIR}/bsdcpio_test -p ${.OBJDIR}/../bsdcpio \
	-r ${LIBARCHIVEDIR}/cpio/test

${.OBJDIR}/list.h list.h: ${TESTS} Makefile
	(cd ${LIBARCHIVEDIR}/cpio/test; cat ${TESTS}) | \
	grep DEFINE_TEST > ${.OBJDIR}/list.h

clean:
	rm -f ${CLEANFILES}
	rm -f *~
	-chmod -R +w /tmp/bsdcpio_test.*
	rm -rf /tmp/bsdcpio_test

.include <bsd.prog.mk>
@


1.12
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/usr.bin/cpio/test/Makefile 238856 2012-07-28 06:38:44Z mm $
d15 10
d34 1
d38 1
d41 1
d43 1
d47 1
d49 1
d62 3
d78 1
@


1.11
log
@SVN rev 238856 on 2012-07-28 06:38:44Z by mm

Update libarchive to 3.0.4
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.10
log
@SVN rev 232153 on 2012-02-25 10:58:02Z by mm

Update libarchive to 3.0.3

Some of new features:
  - New readers: RAR, LHA/LZH, CAB reader, 7-Zip
  - New writers: ISO9660, XAR
  - Improvements to many formats, especially including ISO9660 and Zip
  - Stackable write filters to write, e.g., tar.gz.uu in a single pass
  - Exploit seekable input; new "seekable" Zip reader can exploit the Zip
    Central Directory when it's available; the old "streamable" Zip reader
    is still fully supported for cases where seeking is not possible.

Full release notes available at:
	https://github.com/libarchive/libarchive/wiki/ReleaseNotes
@
text
@d9 1
a9 1
CPIO_SRCS+= err.c pathmatch.c
d38 1
a38 2
	test_passthrough_reverse.c		\
	test_pathmatch.c
d52 2
a53 2
CFLAGS+=	-DPLATFORM_CONFIG_H=\"${.CURDIR}/../config_freebsd.h\"
CFLAGS+=	-I${.CURDIR}/..
d76 1
a76 1
	rm -rf /tmp/bsdcpio_test
@


1.9
log
@SVN rev 228797 on 2011-12-22 08:42:07Z by mm

Use contrib sources for building libarchive, tar and cpio.
Make "make test" fully operational.

MFC after:	2 weeks
@
text
@d17 1
@


1.8
log
@SVN rev 224155 on 2011-07-17 21:52:55Z by mm

Append to CPIO_SRCS instead of using TAR_SRCS,
the variable name is misleading

MFC after:	2 weeks
@
text
@d3 1
a3 2
# Where to find the cpio sources (for the internal unit tests)
CPIO_SRCDIR=${.CURDIR}/..
d5 1
a5 1
.PATH:	${CPIO_SRCDIR}
d8 1
a8 1
.PATH:	${.CURDIR}/../../../lib/libarchive/libarchive_fe
d11 1
d52 2
a53 2
CFLAGS+=	-DPLATFORM_CONFIG_H=\"config_freebsd.h\"
CFLAGS+=	-I..
d58 1
a58 2
CFLAGS+= -I${CPIO_SRCDIR}
CFLAGS+= -I${.CURDIR}/../../../lib/libarchive/libarchive_fe
d65 2
a66 1
	${.OBJDIR}/bsdcpio_test -p ${.OBJDIR}/../bsdcpio -r ${.CURDIR}
d69 2
a70 1
	(cd ${.CURDIR}; cat ${TESTS}) | grep DEFINE_TEST > list.h
d76 1
a76 1
	rm -rf /tmp/bsdcpio_test.*
@


1.8.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.8.2.2
log
@SVN rev 229595 on 2012-01-05 12:52:05Z by mm

MFC r228797:
Use contrib sources for building libarchive, tar and cpio.
Make "make test" fully operational.
@
text
@d3 2
a4 1
LIBARCHIVEDIR=	${.CURDIR}/../../../contrib/libarchive
d6 1
a6 1
.PATH:	${LIBARCHIVEDIR}/cpio
d9 1
a9 1
.PATH:	${LIBARCHIVEDIR}/libarchive_fe
a11 1
.PATH:	${LIBARCHIVEDIR}/cpio/test
d52 2
a53 2
CFLAGS+=	-DPLATFORM_CONFIG_H=\"${.CURDIR}/../config_freebsd.h\"
CFLAGS+=	-I${.CURDIR}/..
d58 2
a59 1
CFLAGS+= -I${LIBARCHIVEDIR}/cpio -I${LIBARCHIVEDIR}/libarchive_fe
d66 1
a66 2
	${.OBJDIR}/bsdcpio_test -p ${.OBJDIR}/../bsdcpio \
	-r ${LIBARCHIVEDIR}/cpio/test
d69 1
a69 2
	(cd ${LIBARCHIVEDIR}/cpio/test; cat ${TESTS}) | \
	grep DEFINE_TEST > ${.OBJDIR}/list.h
d75 1
a75 1
	rm -rf /tmp/bsdcpio_test
@


1.8.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/usr.bin/cpio/test/Makefile 229595 2012-01-05 12:52:05Z mm $
@


1.8.2.2.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.8.2.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/usr.bin/cpio/test/Makefile 229595 2012-01-05 12:52:05Z mm $
@


1.8.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.8.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/usr.bin/cpio/test/Makefile 224155 2011-07-17 21:52:55Z mm $
@


1.7
log
@SVN rev 224154 on 2011-07-17 21:42:22Z by mm

Update bsdcpio to 2.8.4
Use common code from lib/libarchive/libarchive_fe

Approved by:	kientzle
MFC after:	2 weeks
@
text
@d10 1
a10 1
TAR_SRCS= err.c pathmatch.c
a42 1
	${TAR_SRCS}				\
@


1.6
log
@SVN rev 207849 on 2010-05-10 15:28:44Z by mm

Enable liblzma support in libarchive
Adjust dependencies for programs using libarchive
Add xz and linkage against liblzma to rescue system

Approved by:	kientzle, delphij (mentor)
MFC after:	2 weeks
@
text
@a4 1
.PATH: ${CPIO_SRCDIR}
d6 5
a10 2
# Some cpio sources are pulled in for white-box tests
CPIO_SRCS= cmdline.c err.c pathmatch.c
d17 5
a22 1
	test_option_B.c				\
d27 2
a28 2
	test_option_L.c				\
	test_option_ell.c			\
d43 1
d56 2
a57 1
CFLAGS+= -static -g -O2 -Wall
d60 1
@


1.5
log
@SVN rev 201386 on 2010-01-02 10:27:05Z by ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.
@
text
@d45 1
a45 1
DPADD=${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
d48 1
a48 1
LDADD= -larchive -lz -lbz2
@


1.4
log
@SVN rev 182100 on 2008-08-24 05:49:36Z by kientzle

straighten out the "clean" target
@
text
@a55 1
WARNS=6
@


1.4.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.4.2.2
log
@SVN rev 224562 on 2011-08-01 07:59:54Z by mm

Sync bsdcpio with 9-CURRENT:

MFC on usr.bin/cpio:
203183,204329,207792,211054,211397,212263,224154-224155

MFC 203183 (kientzle):
Support -V option to print a dot for each file processed.
Also, change the existing -vi behavior to send the filenames to
stderr rather than stdout, as GNU cpio does.

PR:				bin/141175
Submitted by:	Philip Kizer

MFC 204329 (ru):
Fixed dependencies (make checkdpadd).

MFC 207792 (kientzle):
bsdcpio 2.8.3

MFC 211054 (kientzle):
Fix -R when used with -p.  Previously, the
uname and gname weren't overwritten, so the
disk restore would use those to lookup the
original uid/gid again.  Clearing the uname
and gname prevents this.

Reported by:	swell.k

MFC 211397 (joel):
Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while
translating these manual pages.  Minor corrections by me.

Submitted by:	Nobuyuki Koganemaru <n-kogane@@syd.odn.ne.jp>

MFC 212263 (gjb):
Fix typo in bsdcpio manual:
s/libarchive_formats/libarchive-formats

MFC 224154 (mm):
Update bsdcpio to 2.8.4
Use common code from lib/libarchive/libarchive_fe

MFC 224155 (mm):
Append to CPIO_SRCS instead of using TAR_SRCS,
the variable name is misleading
@
text
@d5 1
d7 2
a8 5
.PATH:	${CPIO_SRCDIR}
CPIO_SRCS= cmdline.c

.PATH:	${.CURDIR}/../../../lib/libarchive/libarchive_fe
CPIO_SRCS+= err.c pathmatch.c
a14 5
	test_option_B_upper.c			\
	test_option_C_upper.c			\
	test_option_J_upper.c			\
	test_option_L_upper.c			\
	test_option_Z_upper.c			\
d16 1
d21 2
a22 2
	test_option_l.c				\
	test_option_lzma.c			\
d49 1
a49 2
#CFLAGS+= -static -g -O2 -Wall
CFLAGS+= -g -O2 -Wall
a51 1
CFLAGS+= -I${.CURDIR}/../../../lib/libarchive/libarchive_fe
@


1.4.2.3
log
@SVN rev 229596 on 2012-01-05 12:57:14Z by mm

MFC r228797:
Use contrib sources for building libarchive, tar and cpio.
Make "make test" fully operational.
@
text
@d3 2
a4 1
LIBARCHIVEDIR=	${.CURDIR}/../../../contrib/libarchive
d6 1
a6 1
.PATH:	${LIBARCHIVEDIR}/cpio
d9 1
a9 1
.PATH:	${LIBARCHIVEDIR}/libarchive_fe
a11 1
.PATH:	${LIBARCHIVEDIR}/cpio/test
d52 2
a53 2
CFLAGS+=	-DPLATFORM_CONFIG_H=\"${.CURDIR}/../config_freebsd.h\"
CFLAGS+=	-I${.CURDIR}/..
d58 2
a59 1
CFLAGS+= -I${LIBARCHIVEDIR}/cpio -I${LIBARCHIVEDIR}/libarchive_fe
d67 1
a67 2
	${.OBJDIR}/bsdcpio_test -p ${.OBJDIR}/../bsdcpio \
	-r ${LIBARCHIVEDIR}/cpio/test
d70 1
a70 2
	(cd ${LIBARCHIVEDIR}/cpio/test; cat ${TESTS}) | \
	grep DEFINE_TEST > ${.OBJDIR}/list.h
d76 1
a76 1
	rm -rf /tmp/bsdcpio_test
@


1.4.2.4
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/usr.bin/cpio/test/Makefile 229596 2012-01-05 12:57:14Z mm $
@


1.4.2.3.2.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.4.2.3.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/usr.bin/cpio/test/Makefile 229596 2012-01-05 12:57:14Z mm $
@


1.4.2.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.4.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.4.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.3
log
@SVN rev 182094 on 2008-08-24 05:14:03Z by kientzle

Test for proper handling of "cpio -p .."

PR:		bin/124924
@
text
@d40 1
a40 1
CLEANFILES+= list.h
d65 1
a65 3
	rm -f *.out
	rm -f *.o
	rm -f *.core
a66 2
	rm -f list.h
	rm -f archive.h ../archive.h
@


1.2
log
@SVN rev 182092 on 2008-08-24 04:58:22Z by kientzle

Test for a bug reported by Bernd Walter:  In passthrough mode,
copying "dir/file" and then copying "dir" results in
"File on disk is not older; skipping" for the "dir" because
it was implicitly created by "dir/file."  Among other sins,
this means that "dir" ends up with the wrong permissions
and ownership.

This is actually a libarchive bug; fix is forthcoming.
@
text
@d30 1
@


1.1
log
@Initial commit of bsdcpio 0.9.11b.

A new implementation of cpio that uses libarchive as it's back-end
archiving/dearchiving infrastructure.  Includes test harness;
"make check" in the bsdcpio directory to build and run the test
harness.
@
text
@d30 2
a31 1
	test_pathmatch.c			\
@

