History log of /freebsd-current/bin/test/test.1
Revision Date Author Comments
# 90aea514 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

bin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# b2c76c41 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line nroff pattern

Remove /^\.\\"\s*\$FreeBSD\$$\n/


# fbbd9655 28-Feb-2017 Warner Losh <imp@FreeBSD.org>

Renumber copyright clause 4

Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96


# 2bb154d9 05-Oct-2016 Sevan Janiyan <sevan@FreeBSD.org>

Add history section for test(1)
http://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/test.c

PR: 211789
Approved by: bcr (mentor)
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D8104


# a5efad6f 31-May-2013 Jilles Tjoelker <jilles@FreeBSD.org>

test(1): Add information about replacing -nt/-ot.


# 28bb6b49 31-May-2013 Jilles Tjoelker <jilles@FreeBSD.org>

test(1): List non-standard primaries.


# f19825af 31-May-2013 Jilles Tjoelker <jilles@FreeBSD.org>

test: Remove -ntXY and -otXY primaries.

This reverts commit r247274.

As maintainer of sh, I disapprove of this feature addition.

It is too specific and can be done without easily using find(1) or stat(1).
I will add some hints to the test(1) man page shortly.

In general, FreeBSD sh is not the place to invent new shell language
features. This is how it has been maintained and adding features randomly
does not work with that.

The new syntax (e.g. [ FILE1 -ntca FILE2 ]) looks cryptic to me.


# 293beebc 25-Feb-2013 Peter Jeremy <peterj@FreeBSD.org>

Enhance test(1) by adding provision to compare any combination of the
access, birth, change and modify times of two files, instead of only
being able to compare modify times. The builtin test in sh(1) will
automagically acquire the same expansion.

Approved by: grog
MFC after: 2 weeks


# a68c6b57 27-Dec-2012 Jilles Tjoelker <jilles@FreeBSD.org>

test(1): Document == alias for =.

Reviewed by: gjb
Requested by: gjb
MFC after: 1 week


# 35471bf8 13-May-2012 Joel Dahl <joel@FreeBSD.org>

Minor mdoc nits.


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 5512804b 11-Sep-2010 Rebecca Cran <brucec@FreeBSD.org>

Revert changes of 'assure' to 'ensure' made in r211936.

Approved by: rrs (mentor)


# c68e12a6 10-Sep-2010 Jilles Tjoelker <jilles@FreeBSD.org>

test(1): Fix markup, ( and ) must be separate arguments so leave spaces.

MFC after: 1 week


# 2f67f12e 10-Sep-2010 Jilles Tjoelker <jilles@FreeBSD.org>

test(1): Clarify grammar ambiguity and -a/-o vs shell &&/||.


# e7f8dd75 28-Aug-2010 Rebecca Cran <brucec@FreeBSD.org>

Fix incorrect usage of 'assure' and 'insure'.

Approved by: rrs (mentor)


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 8465a404 06-Jan-2009 Daniel Gerzo <danger@FreeBSD.org>

- rename the RETURN VALUES section to EXIT STATUS
- not bumping a date as this is not a real content change

Approved by: ru
MFC after: 3 days


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 7eb5016a 14-Dec-2006 Ruslan Ermilov <ru@FreeBSD.org>

Simplify some markup.


# 6a215886 31-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Granting the amount of misunderstanding the last change received,
extend it with an example to clarify the point.


# ec45d514 27-Jul-2006 Yaroslav Tykhiy <ytykhiy@gmail.com>

Document that both sides of -a or -o are always evaluated. This
"feature" doesn't seem to be in the standards or elsewhere, and
it is against what we are used to in C and sh(1), so put the
paragraph under BUGS.

Pointed out by: dougb
MFC after: 3 days


# 9ddb49cb 10-Jan-2005 Warner Losh <imp@FreeBSD.org>

/*- or .\"- or #- to begin license clauses.


# ee70653e 02-Jul-2004 Tim J. Robbins <tjr@FreeBSD.org>

Clarify: test compares strings by binary value, not "ASCII value".


# eccea571 02-Jul-2004 Ruslan Ermilov <ru@FreeBSD.org>

Mechanically kill hard sentence breaks.


# 37ad0f49 06-Jun-2004 Yaroslav Tykhiy <ytykhiy@gmail.com>

Remove a duplicated description of the test for the null string.

MFC after: 3 days


# 593cc6f3 06-Jun-2004 Yaroslav Tykhiy <ytykhiy@gmail.com>

Describe how test(1) will evaluate its expressions for a symlink.

Inspired by: SUSv3
MFC after: 1 week


# 6195fb41 06-Apr-2004 Mark Murray <markm@FreeBSD.org>

Remove clause 3 from the UCB licenses.

OK'ed by: imp, core


# d90c5c4a 17-Nov-2001 Akinori MUSHA <knu@FreeBSD.org>

Make test(1) a builtin command of our sh(1) for efficiency. The
binary size increase is 3,784 bytes (about 0.6%).

I don't drop the printf builtin while I'm here because some /etc/rc.*
scripts seem to use it before mounting /usr where printf(1) resides.

Reviewed by: arch (sheldonh)
Inspired by: NetBSD, ksh
Clued by: ume (on how the printf builtin is used)


# 46c128b5 31-Aug-2001 Dima Dorfman <dd@FreeBSD.org>

The file_descriptor argument to -t isn't optional, so don't mark it up so.


# c4d9468e 07-Aug-2001 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police:

Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.


# 7ebcc426 15-Jul-2001 Dima Dorfman <dd@FreeBSD.org>

Remove whitespace at EOL.


# be8b1497 20-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: use the new features of the Nm macro.


# 238fe5f7 18-Nov-2000 Ruslan Ermilov <ru@FreeBSD.org>

mdoc(7) police: now that Nm macro accepts punctuation characters
as argument, unbreak this page by escaping the `[' character.

Noticed by: sheldonh


# bef84d6b 01-Mar-2000 Sheldon Hearn <sheldonh@FreeBSD.org>

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


# 2a456239 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 717a08b6 16-Aug-1999 Sheldon Hearn <sheldonh@FreeBSD.org>

Replace our test(1) with NetBSD's pdksh-derived version. The code is
significantly easier to read and extend and offers a few new tests.
A few style changes taken from style(9) and OpenBSD, as well as
whitespace cleanups.

This change was discussed on freebsd-committers and freebsd-hackers
and met with approval from at least des, eivind and brian.

PR: 13091
Obtained from: NetBSD


# e5bf7bf4 17-Dec-1998 Joseph Koshy <jkoshy@FreeBSD.org>

Add cross-references to test(1) and expr(1) respectively.

PR: docs/9111
Submitted by: Josh Gilliam <josh@quick.net>


# 23f8fb3d 07-Sep-1998 Martin Cracauer <cracauer@FreeBSD.org>

Add -S flag to test for sockets.
PR: bin/7507
Reviewed by: I tested the patch
Submitted by: Stefan `Sec` Zehl sec@42.org


# 9ba8bd65 18-May-1998 Philippe Charnier <charnier@FreeBSD.org>

Correct use of .Nm. Add rcsid.


# c263cc21 02-Jun-1997 Philippe Charnier <charnier@FreeBSD.org>

Typo fix.


# b97fa2ef 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 89730b29 23-Sep-1994 David Greenman <dg@FreeBSD.org>

Added $Id$


# 4b88c807 26-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite bin Sources