aboutsummaryrefslogtreecommitdiff
path: root/bin/test
Commit message (Collapse)AuthorAgeFilesLines
* Add support for 64bit integer comparisons.Stefan Eßer2000-07-101-6/+50
| | | | Notes: svn path=/head/; revision=62925
* Remove test for block device.Kris Kennaway2000-05-071-1/+0
| | | | Notes: svn path=/head/; revision=60126
* 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
* Take into account the fact that "[" may be called with a path,Sheldon Hearn1999-12-281-1/+6
| | | | | | | | | | | for example "/bin/[". Reported by: Vlad Skvortsov <vss@ulstu.ru> Reported by: Peter Jeremy <peter.jeremy@alcatel.com.au> Message-Id: 99Dec27.111307est.40321@border.alcanet.com.au Notes: svn path=/head/; revision=55179
* $Id$ -> $FreeBSD$Peter Wemm1999-08-276-6/+6
| | | | Notes: svn path=/head/; revision=50471
* Make the comments nice, short-but-sweet XXX format.Brian Feldman1999-08-241-10/+3
| | | | | | | Submitted by: sheldonh Notes: svn path=/head/; revision=50302
* Make a comment I added a bit nicer.Brian Feldman1999-08-221-2/+3
| | | | Notes: svn path=/head/; revision=50189
* Finally: fix test -x as completely as possible.Brian Feldman1999-08-201-7/+17
| | | | | | | | Reviewed by: bde Reworked by: bde Notes: svn path=/head/; revision=50087
* The new test(1) did not use access() correctly. I don't know why, sinceBrian Feldman1999-08-181-2/+7
| | | | | | | | | | | supposedly it's ksh-derived, and it's not broken in pdksh. I've added a test for test running as root: if testing for -x, the file must be mode & 0111 to get "success", rather than just existant. Reviewed by: chris Notes: svn path=/head/; revision=49993
* Replace our test(1) with NetBSD's pdksh-derived version. The code isSheldon Hearn1999-08-165-785/+465
| | | | | | | | | | | | | | | 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
* Minor style fix - change 'if(!*v)' to 'if (!*v)'Chris Costello1999-08-141-2/+2
| | | | Notes: svn path=/head/; revision=49707
* Various spelling/formatting changes.Kris Kennaway1999-05-081-2/+2
| | | | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> Notes: svn path=/head/; revision=46684
* 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-074-17/+28
| | | | | | | | | 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-183-13/+17
| | | | Notes: svn path=/head/; revision=36152
* Remove simultaneous include of <sys/param.h> and <sys/types.h>.Eivind Eklund1997-12-101-3/+2
| | | | | | | | Reorder includes to be alphabetical some places since I already was in here. Notes: svn path=/head/; revision=31666
* Typo fix.Philippe Charnier1997-06-021-2/+3
| | | | Notes: svn path=/head/; revision=26367
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-228-8/+8
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-148-8/+8
| | | | | | | | | | | 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
* add some string examples, eg. test "" -o ""Wolfram Schneider1996-12-281-12/+16
| | | | Notes: svn path=/head/; revision=20970
* Fix handling of -o and -a operators in the 3 argument case.Steve Price1996-12-251-2/+2
| | | | | | | Submitted by: Tom Rush <tarush@mindspring.com> Notes: svn path=/head/; revision=20903
* -Wall cleaning.Steve Price1996-12-142-5/+5
| | | | Notes: svn path=/head/; revision=20424
* sync copyright with /usr/share/examples/etc/bsd-style-copyrightWolfram Schneider1996-08-271-2/+25
| | | | Notes: svn path=/head/; revision=17849
* Add a better TEST script. I was surprised how much can be wrongWolfram Schneider1996-06-192-0/+133
| | | | | | | with program test(1) or builtin test(1). Notes: svn path=/head/; revision=16491
* err() --> errx() for non-errno related failures.Joerg Wunsch1996-03-111-3/+3
| | | | Notes: svn path=/head/; revision=14539
* Fix -h option:Andrey A. Chernov1995-10-281-2/+2
| | | | | | | sense symlink even it is unresolved Notes: svn path=/head/; revision=11855
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-6/+6
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=8855
* You will find enclosed some changes to make gcc -Wall more happy inJoerg Wunsch1995-03-191-3/+3
| | | | | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier) Notes: svn path=/head/; revision=7165
* Fix group permissions check for group list size > 1Andrey A. Chernov1994-11-051-3/+13
| | | | | | | Pointed by Bruce Notes: svn path=/head/; revision=4171
* Fix root -w case according to manpage (-x & -r cases already accords)Andrey A. Chernov1994-11-051-4/+7
| | | | | | | Pointed by Bruce. Notes: svn path=/head/; revision=4170
* Cosmetique, missing tab/spaces after patchAndrey A. Chernov1994-11-051-6/+6
| | | | Notes: svn path=/head/; revision=4168
* More complex implementation of previos superuser fixAndrey A. Chernov1994-11-051-2/+10
| | | | | | | because rw and x bit treats differently infact Notes: svn path=/head/; revision=4167
* test produce wrong results for superuser, i.e. tellsAndrey A. Chernov1994-11-051-2/+2
| | | | | | | that file is unreadable when it is readable infact. Notes: svn path=/head/; revision=4166
* Added $Id$David Greenman1994-09-246-0/+8
| | | | Notes: svn path=/head/; revision=3044
* Make get_int() think that "" (null) has the integer value 0.Geoff Rehmet1994-09-111-0/+5
| | | | | | | | | (Which is the same behaviour as in 1.x) The install blows up without this. Reviewed by: rgrimes Notes: svn path=/head/; revision=2675
* - handle signs on integers properly,Geoff Rehmet1994-09-114-2/+28
| | | | | | | | | | | | | - make sure error messages for bad integers are moderately sensible - handle test ! "abc" -o "abc" (This should evaluate to true) (and similar cases) ie: and/or operator test added to POSIX special case processing. - more test cases added. Based on: Work done on 1.x's test(1) by Andrew Moore and Adam David. Notes: svn path=/head/; revision=2664
* BSD 4.4 Lite bin SourcesRodney W. Grimes1994-05-266-0/+1185
Notes: svn path=/head/; revision=1556