aboutsummaryrefslogtreecommitdiff
path: root/bin/test/test.1
Commit message (Collapse)AuthorAgeFilesLines
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=314436
* Add history section for test(1)Sevan Janiyan2016-10-051-1/+6
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=306722
* test(1): Add information about replacing -nt/-ot.Jilles Tjoelker2013-05-311-0/+16
| | | | Notes: svn path=/head/; revision=251211
* test(1): List non-standard primaries.Jilles Tjoelker2013-05-311-1/+12
| | | | Notes: svn path=/head/; revision=251209
* test: Remove -ntXY and -otXY primaries.Jilles Tjoelker2013-05-311-54/+4
| | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=251208
* Enhance test(1) by adding provision to compare any combination of thePeter Jeremy2013-02-251-4/+54
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=247274
* test(1): Document == alias for =.Jilles Tjoelker2012-12-271-1/+8
| | | | | | | | | Reviewed by: gjb Requested by: gjb MFC after: 1 week Notes: svn path=/head/; revision=244734
* Minor mdoc nits.Joel Dahl2012-05-131-1/+1
| | | | Notes: svn path=/head/; revision=235400
* Revert changes of 'assure' to 'ensure' made in r211936.Rebecca Cran2010-09-111-1/+1
| | | | | | | Approved by: rrs (mentor) Notes: svn path=/head/; revision=212463
* test(1): Fix markup, ( and ) must be separate arguments so leave spaces.Jilles Tjoelker2010-09-101-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=212419
* test(1): Clarify grammar ambiguity and -a/-o vs shell &&/||.Jilles Tjoelker2010-09-101-5/+12
| | | | Notes: svn path=/head/; revision=212418
* Fix incorrect usage of 'assure' and 'insure'.Rebecca Cran2010-08-281-1/+1
| | | | | | | Approved by: rrs (mentor) Notes: svn path=/head/; revision=211936
* - rename the RETURN VALUES section to EXIT STATUSDaniel Gerzo2009-01-071-1/+1
| | | | | | | | | | - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days Notes: svn path=/head/; revision=186849
* Simplify some markup.Ruslan Ermilov2006-12-141-32/+34
| | | | Notes: svn path=/head/; revision=165202
* Granting the amount of misunderstanding the last change received,Yaroslav Tykhiy2006-07-311-1/+7
| | | | | | | extend it with an example to clarify the point. Notes: svn path=/head/; revision=160848
* Document that both sides of -a or -o are always evaluated. ThisYaroslav Tykhiy2006-07-271-1/+8
| | | | | | | | | | | | "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 Notes: svn path=/head/; revision=160760
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-101-0/+1
| | | | Notes: svn path=/head/; revision=139969
* Clarify: test compares strings by binary value, not "ASCII value".Tim J. Robbins2004-07-031-3/+3
| | | | Notes: svn path=/head/; revision=131512
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-2/+4
| | | | Notes: svn path=/head/; revision=131484
* Remove a duplicated description of the test for the null string.Yaroslav Tykhiy2004-06-071-5/+0
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=130190
* Describe how test(1) will evaluate its expressions for a symlink.Yaroslav Tykhiy2004-06-071-1/+13
| | | | | | | | Inspired by: SUSv3 MFC after: 1 week Notes: svn path=/head/; revision=130189
* Remove clause 3 from the UCB licenses.Mark Murray2004-04-061-4/+0
| | | | | | | OK'ed by: imp, core Notes: svn path=/head/; revision=127958
* Make test(1) a builtin command of our sh(1) for efficiency. TheAkinori MUSHA2001-11-171-0/+8
| | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=86505
* The file_descriptor argument to -t isn't optional, so don't mark it up so.Dima Dorfman2001-08-311-1/+1
| | | | Notes: svn path=/head/; revision=82661
* mdoc(7) police:Ruslan Ermilov2001-08-071-1/+1
| | | | | | | | | | 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. Notes: svn path=/head/; revision=81251
* Remove whitespace at EOL.Dima Dorfman2001-07-151-6/+6
| | | | Notes: svn path=/head/; revision=79754
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-6/+6
| | | | Notes: svn path=/head/; revision=68935
* mdoc(7) police: now that Nm macro accepts punctuation charactersRuslan Ermilov2000-11-181-1/+1
| | | | | | | | | as argument, unbreak this page by escaping the `[' character. Noticed by: sheldonh Notes: svn path=/head/; revision=68875
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-1/+2
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57663
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50471
* Replace our test(1) with NetBSD's pdksh-derived version. The code isSheldon Hearn1999-08-161-18/+73
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=49884
* Add cross-references to test(1) and expr(1) respectively.Joseph Koshy1998-12-181-1/+4
| | | | | | | | PR: docs/9111 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=41915
* Add -S flag to test for sockets.Martin Cracauer1998-09-071-1/+5
| | | | | | | | | PR: bin/7507 Reviewed by: I tested the patch Submitted by: Stefan `Sec` Zehl sec@42.org Notes: svn path=/head/; revision=38914
* Correct use of .Nm. Add rcsid.Philippe Charnier1998-05-181-7/+7
| | | | Notes: svn path=/head/; revision=36152
* Typo fix.Philippe Charnier1997-06-021-2/+3
| | | | Notes: svn path=/head/; revision=26367
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Added $Id$David Greenman1994-09-241-0/+1
| | | | Notes: svn path=/head/; revision=3044
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-261-0/+255
Notes: svn path=/head/; revision=1556