head	1.18;
access;
symbols
	RELENG_8_4:1.18.0.2
	RELENG_9_1_0_RELEASE:1.17.2.1.4.2
	RELENG_9_1:1.17.2.1.0.4
	RELENG_9_1_BP:1.17.2.1
	RELENG_8_3_0_RELEASE:1.13.2.3.4.1
	RELENG_8_3:1.13.2.3.0.4
	RELENG_8_3_BP:1.13.2.3
	RELENG_9_0_0_RELEASE:1.17.2.1.2.1
	RELENG_9_0:1.17.2.1.0.2
	RELENG_9_0_BP:1.17.2.1
	RELENG_9:1.17.0.2
	RELENG_9_BP:1.17
	RELENG_7_4_0_RELEASE:1.12.12.1
	RELENG_8_2_0_RELEASE:1.13.2.3.2.1
	RELENG_7_4:1.12.0.12
	RELENG_7_4_BP:1.12
	RELENG_8_2:1.13.2.3.0.2
	RELENG_8_2_BP:1.13.2.3
	RELENG_8_1_0_RELEASE:1.13.2.1.4.1
	RELENG_8_1:1.13.2.1.0.4
	RELENG_8_1_BP:1.13.2.1
	RELENG_7_3_0_RELEASE:1.12.10.1
	RELENG_7_3:1.12.0.10
	RELENG_7_3_BP:1.12
	RELENG_8_0_0_RELEASE:1.13.2.1.2.1
	RELENG_8_0:1.13.2.1.0.2
	RELENG_8_0_BP:1.13.2.1
	RELENG_8:1.13.0.2
	RELENG_8_BP:1.13
	RELENG_7_2_0_RELEASE:1.12.8.1
	RELENG_7_2:1.12.0.8
	RELENG_7_2_BP:1.12
	RELENG_7_1_0_RELEASE:1.12.6.1
	RELENG_6_4_0_RELEASE:1.10.2.1.2.1
	RELENG_7_1:1.12.0.6
	RELENG_7_1_BP:1.12
	RELENG_6_4:1.10.2.1.0.2
	RELENG_6_4_BP:1.10.2.1
	RELENG_7_0_0_RELEASE:1.12
	RELENG_6_3_0_RELEASE:1.10
	RELENG_7_0:1.12.0.4
	RELENG_7_0_BP:1.12
	RELENG_6_3:1.10.0.10
	RELENG_6_3_BP:1.10
	RELENG_7:1.12.0.2
	RELENG_7_BP:1.12
	RELENG_6_2_0_RELEASE:1.10
	RELENG_6_2:1.10.0.8
	RELENG_6_2_BP:1.10
	RELENG_5_5_0_RELEASE:1.8
	RELENG_5_5:1.8.0.14
	RELENG_5_5_BP:1.8
	RELENG_6_1_0_RELEASE:1.10
	RELENG_6_1:1.10.0.6
	RELENG_6_1_BP:1.10
	RELENG_6_0_0_RELEASE:1.10
	RELENG_6_0:1.10.0.4
	RELENG_6_0_BP:1.10
	RELENG_6:1.10.0.2
	RELENG_6_BP:1.10
	RELENG_5_4_0_RELEASE:1.8
	RELENG_5_4:1.8.0.12
	RELENG_5_4_BP:1.8
	RELENG_5_3_0_RELEASE:1.8
	RELENG_5_3:1.8.0.10
	RELENG_5_3_BP:1.8
	RELENG_5:1.8.0.8
	RELENG_5_BP:1.8
	RELENG_5_2_1_RELEASE:1.8
	RELENG_5_2_0_RELEASE:1.8
	RELENG_5_2:1.8.0.6
	RELENG_5_2_BP:1.8
	RELENG_5_1_0_RELEASE:1.8
	RELENG_5_1:1.8.0.4
	RELENG_5_1_BP:1.8
	RELENG_5_0_0_RELEASE:1.8
	RELENG_5_0:1.8.0.2
	RELENG_5_0_BP:1.8;
locks; strict;
comment	@# @;


1.18
date	2012.11.17.01.53.58;	author svnexp;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	2010.03.14.10.24.03;	author edwin;	state Exp;
branches
	1.17.2.1;
next	1.16;

1.16
date	2010.03.05.15.23.01;	author jh;	state Exp;
branches;
next	1.15;

1.15
date	2010.01.04.09.54.24;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	2009.12.12.18.18.46;	author jh;	state Exp;
branches;
next	1.13;

1.13
date	2008.01.13.08.33.58;	author keramida;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2007.06.03.03.29.31;	author grog;	state Exp;
branches
	1.12.2.1
	1.12.6.1
	1.12.8.1
	1.12.10.1
	1.12.12.1;
next	1.11;

1.11
date	2007.05.22.06.21.19;	author dds;	state Exp;
branches;
next	1.10;

1.10
date	2005.04.13.20.08.17;	author stefanf;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	2005.03.02.12.33.22;	author harti;	state Exp;
branches;
next	1.8;

1.8
date	2002.06.07.05.32.00;	author jmallett;	state Exp;
branches;
next	1.7;

1.7
date	2002.04.21.01.04.01;	author jmallett;	state Exp;
branches;
next	1.6;

1.6
date	2002.04.20.20.56.57;	author jmallett;	state Exp;
branches;
next	1.5;

1.5
date	2002.04.20.19.41.28;	author jmallett;	state Exp;
branches;
next	1.4;

1.4
date	2002.04.20.19.33.21;	author jmallett;	state Exp;
branches;
next	1.3;

1.3
date	2002.04.20.19.01.19;	author jmallett;	state Exp;
branches;
next	1.2;

1.2
date	2002.04.20.18.46.29;	author jmallett;	state Exp;
branches;
next	1.1;

1.1
date	2002.04.20.17.20.15;	author jmallett;	state Exp;
branches;
next	;

1.18.2.1
date	2012.11.17.01.53.58;	author svnexp;	state dead;
branches;
next	1.18.2.2;

1.18.2.2
date	2013.03.28.13.05.54;	author svnexp;	state Exp;
branches;
next	;

1.17.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.17.2.1.2.1
	1.17.2.1.4.1;
next	1.17.2.2;

1.17.2.2
date	2012.11.17.11.37.31;	author svnexp;	state Exp;
branches;
next	;

1.17.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.17.2.1.2.2;

1.17.2.1.2.2
date	2012.11.17.08.37.27;	author svnexp;	state Exp;
branches;
next	;

1.17.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.17.2.1.4.2;

1.17.2.1.4.2
date	2012.11.17.08.48.19;	author svnexp;	state Exp;
branches;
next	;

1.13.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.13.2.1.2.1
	1.13.2.1.4.1;
next	1.13.2.2;

1.13.2.2
date	2010.07.30.12.04.29;	author jh;	state Exp;
branches;
next	1.13.2.3;

1.13.2.3
date	2010.08.17.15.02.33;	author jh;	state Exp;
branches
	1.13.2.3.2.1
	1.13.2.3.4.1;
next	1.13.2.4;

1.13.2.4
date	2012.11.17.10.37.12;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.13.2.3.4.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.13.2.3.4.2;

1.13.2.3.4.2
date	2012.11.17.08.25.46;	author svnexp;	state Exp;
branches;
next	;

1.12.2.1
date	2012.11.17.08.08.09;	author svnexp;	state Exp;
branches;
next	;

1.12.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.12.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.12.10.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.12.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.12.12.2;

1.12.12.2
date	2012.11.17.08.17.39;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1
date	2008.08.05.08.49.49;	author edwin;	state Exp;
branches
	1.10.2.1.2.1;
next	1.10.2.2;

1.10.2.2
date	2012.11.17.07.45.25;	author svnexp;	state Exp;
branches;
next	;

1.10.2.1.2.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;


desc
@@


1.18
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/tools/regression/usr.bin/Makefile 205147 2010-03-14 10:24:03Z edwin $

SUBDIR=	apply calendar comm file2c join jot m4 ncal printf sed tr	\
	uudecode uuencode xargs
.if !defined(AUTOMATED)
SUBDIR+= lastcomm
.endif

.include <bsd.subdir.mk>
@


1.18.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:05:54 +0000
@
text
@d1 9
@


1.18.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 5
# $FreeBSD: releng/8.4/tools/regression/usr.bin/Makefile 211428 2010-08-17 15:02:33Z jh $

SUBDIR=	apply calendar comm file2c join jot m4 printf sed tr uudecode uuencode xargs lastcomm

.include <bsd.subdir.mk>
@


1.17
log
@SVN rev 205147 on 2010-03-14 10:24:03Z by edwin

Create regression tests for ncal:

- A couple of tests to check if the layout of the generated calenders
  is correct.

- A couple of tests to see if impossible combinations for -3, -A,
  -m, -y etc properly abort.

- A couple of test to confirm that the order of -A, -B, -3 etc give
  the right number of months.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.17.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.17.2.2
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/tools/regression/usr.bin/Makefile 205147 2010-03-14 10:24:03Z edwin $
@


1.17.2.1.4.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.17.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/tools/regression/usr.bin/Makefile 205147 2010-03-14 10:24:03Z edwin $
@


1.17.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.17.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/tools/regression/usr.bin/Makefile 205147 2010-03-14 10:24:03Z edwin $
@


1.16
log
@SVN rev 204761 on 2010-03-05 15:23:01Z by jh

- Use errx(3) instead of err(3) when checking if snprintf(3) succeeded.
  snprintf(3) doesn't set errno in the tested cases.
- If the same argument reference (for example %1) was specified more than
  once, the command didn't necessarily fit to the final command buffer. Fix
  this using a dynamic sbuf buffer. Add a few regression tests for the case.

PR:		bin/95079
No objections:	freebsd-hackers
@
text
@d3 1
a3 1
SUBDIR=	apply calendar comm file2c join jot m4 printf sed tr	\
@


1.15
log
@SVN rev 201480 on 2010-01-04 09:54:24Z by obrien

Don't process 'lastcomm' if "AUTOMATED" is defined.
The tests for it require manual setup.
@
text
@d3 2
a4 1
SUBDIR=	calendar comm file2c join jot m4 printf sed tr uudecode uuencode xargs
@


1.14
log
@SVN rev 200442 on 2009-12-12 18:18:46Z by jh

Don't read the newline character to line buffer because lines are passed
to wcscoll(3). Newline characters could cause incorrect results when
comparing lines.

Also, if an input line didn't contain a newline character, it was
omitted from the output. According to my interpretation, SUSv3 requires
that the newline is always printed.

Add regression tests for the cases. [1]

PR:		bin/140976
Submitted by:	D'Arcy Cain (original version) [1]
Approved by:	trasz (mentor)
@
text
@d3 4
a6 1
SUBDIR=	calendar comm file2c join jot m4 printf sed tr uudecode uuencode xargs lastcomm
@


1.13
log
@Attach the tr(1) regression tests to the build.

Approved by:	das, dds
@
text
@d3 1
a3 1
SUBDIR=	calendar file2c join jot m4 printf sed tr uudecode uuencode xargs lastcomm
@


1.13.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.13.2.2
log
@SVN rev 210642 on 2010-07-30 12:04:29Z by jh

MFC r204761:

- Use errx(3) instead of err(3) when checking if snprintf(3) succeeded.
  snprintf(3) doesn't set errno in the tested cases.
- If the same argument reference (for example %1) was specified more than
  once, the command didn't necessarily fit to the final command buffer. Fix
  this using a dynamic sbuf buffer. Add a few regression tests for the case.

PR:		bin/95079
@
text
@d3 1
a3 1
SUBDIR=	apply calendar file2c join jot m4 printf sed tr uudecode uuencode xargs lastcomm
@


1.13.2.3
log
@SVN rev 211428 on 2010-08-17 15:02:33Z by jh

MFC r200442:

Don't read the newline character to line buffer because lines are passed
to wcscoll(3). Newline characters could cause incorrect results when
comparing lines.

Also, if an input line didn't contain a newline character, it was
omitted from the output. According to my interpretation, SUSv3 requires
that the newline is always printed.

Add regression tests for the cases.

PR:		bin/140976

MFC r200604:

- Prevent overflowing of the buffer length variable in getline() by
  limiting its maximum value.
- Exit if reallocf(3) fails in getline(). Failure was silently
  considered as end-of-file.

MFC r204896 by ache:

Rewrite input processing to not exit with error on the first EILSEQ found
in the input data but fallback to "binary comparison" instead.

POSIX says: "The input files shall be text files", nothing more,
so the text file with illegal sequence is valid input.
BTW, GNU sort does not fails on EILSEQ too.

MFC r204928 by ache:

Add SIZE_MAX overflow check
@
text
@d3 1
a3 1
SUBDIR=	apply calendar comm file2c join jot m4 printf sed tr uudecode uuencode xargs lastcomm
@


1.13.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/tools/regression/usr.bin/Makefile 211428 2010-08-17 15:02:33Z jh $
@


1.13.2.3.4.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.13.2.3.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/tools/regression/usr.bin/Makefile 211428 2010-08-17 15:02:33Z jh $
@


1.13.2.3.2.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.13.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.13.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.12
log
@Add regression tests for calendar.

Submitted by:	edwin@@
PR:		bin/113275
MFC after:	2 weeks
@
text
@d3 1
a3 1
SUBDIR=	calendar file2c join jot m4 printf sed uudecode uuencode xargs lastcomm
@


1.12.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/tools/regression/usr.bin/Makefile 170231 2007-06-03 03:29:32Z grog $
@


1.12.12.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.12.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/tools/regression/usr.bin/Makefile 170231 2007-06-03 03:29:32Z grog $
@


1.12.10.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.12.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.12.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.11
log
@Regression tests for the new and legacy process accounting formats.
@
text
@d3 1
a3 1
SUBDIR=	file2c join jot m4 printf sed uudecode uuencode xargs lastcomm
@


1.10
log
@Add a few regression tests for printf(1).
@
text
@d3 1
a3 1
SUBDIR=	file2c join jot m4 printf sed uudecode uuencode xargs
@


1.10.2.1
log
@SVN rev 181326 on 2008-08-05 08:49:49Z by edwin

MFC of regression tests for usr.bin/calendar.

PR:		bin/113275, bin/113287
@
text
@d3 1
a3 1
SUBDIR=	calendar file2c join jot m4 printf sed uudecode uuencode xargs
@


1.10.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/tools/regression/usr.bin/Makefile 181326 2008-08-05 08:49:49Z edwin $
@


1.10.2.1.2.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.9
log
@Repo-copy tools/regression/usr.bin/make to tools/build/make_check
and adjust the path in the Makefile for the upgrade_checks target.
These checks are really feature upgrade checks that should be fast
and just find out whether we need to build a new make before
proceeding with other targets like buildworld. This makes the
place free for a real regression test suite in the old place.
@
text
@d3 1
a3 1
SUBDIR=	file2c join jot m4 sed uudecode uuencode xargs
@


1.8
log
@Add the m4(1) regression test.
@
text
@d3 1
a3 1
SUBDIR=	file2c join jot m4 make sed uudecode uuencode xargs
@


1.7
log
@Add sed(1) tests for proper behaviour of the G option as fixed in PR 26152,
and for proper behaviour of some sed functions given a nil pattern space,
as fixed in PR 34813.

The test for G was based on the test in the PR.  The nil pattern space test
is slightly different as we need to get *some* output, as the core dump will
also produce no output (old behaviour) and turn up falsely that the utility
is working fine.
@
text
@d3 1
a3 1
SUBDIR=	file2c join jot make sed uudecode uuencode xargs
@


1.6
log
@Add a test of variable evaluation and substitution for make(1), as a start
of tests for it.
@
text
@d3 1
a3 1
SUBDIR=	file2c join jot make uudecode uuencode xargs
@


1.5
log
@Add a test for jot(1).
@
text
@d3 1
a3 1
SUBDIR=	file2c join jot uudecode uuencode xargs
@


1.4
log
@A simple test for join(1) based on tjr's test case for -o 0.

Partially based on:	PR standards/36072
@
text
@d3 1
a3 1
SUBDIR=	file2c join uudecode uuencode xargs
@


1.3
log
@Add an exceedingly simple regression test for the file2c program.  One would
hope that it would never regress, but this is a straightforward test, so add
it.
@
text
@d3 1
a3 1
SUBDIR=	file2c uudecode uuencode xargs
@


1.2
log
@Add regression tests for parts of xargs(1).
@
text
@d3 1
a3 1
SUBDIR=	uudecode uuencode xargs
@


1.1
log
@Start adding framework for userland regression tests, and tests for
uuencode and uudecode.
@
text
@d3 1
a3 1
SUBDIR=	uudecode uuencode
@

