Martin Cracauer
23f8fb3d1e
Add -S flag to test for sockets.
...
PR: bin/7507
Reviewed by: I tested the patch
Submitted by: Stefan `Sec` Zehl sec@42.org
1998-09-07 16:59:05 +00:00
Philippe Charnier
9ba8bd6557
Correct use of .Nm. Add rcsid.
1998-05-18 06:51:59 +00:00
Eivind Eklund
007d33500e
Remove simultaneous include of <sys/param.h> and <sys/types.h>.
...
Reorder includes to be alphabetical some places since I already was in
here.
1997-12-10 22:18:54 +00:00
Philippe Charnier
c263cc2165
Typo fix.
1997-06-02 06:40:08 +00:00
Peter Wemm
b97fa2ef50
Revert $FreeBSD$ to $Id$
1997-02-22 14:13:04 +00:00
Jordan K. Hubbard
1130b656e5
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.
1997-01-14 07:20:47 +00:00
Wolfram Schneider
110ce42895
add some string examples, eg. test "" -o ""
1996-12-28 13:31:29 +00:00
Steve Price
9d633f68d7
Fix handling of -o and -a operators in the 3 argument case.
...
Submitted by: Tom Rush <tarush@mindspring.com>
1996-12-25 00:08:10 +00:00
Steve Price
4507dafda4
-Wall cleaning.
1996-12-14 06:16:51 +00:00
Wolfram Schneider
5a80fb277e
sync copyright with /usr/share/examples/etc/bsd-style-copyright
1996-08-27 20:04:45 +00:00
Wolfram Schneider
0d917e0587
Add a better TEST script. I was surprised how much can be wrong
...
with program test(1) or builtin test(1).
1996-06-19 00:44:44 +00:00
Joerg Wunsch
9074ba2eea
err() --> errx() for non-errno related failures.
1996-03-11 11:01:03 +00:00
Andrey A. Chernov
25c3d35121
Fix -h option:
...
sense symlink even it is unresolved
1995-10-28 11:54:42 +00:00
Rodney W. Grimes
2162b2d226
Remove trailing whitespace.
...
Reviewed by: phk
1995-05-30 00:07:29 +00:00
Joerg Wunsch
0fd510b71a
You will find enclosed some changes to make gcc -Wall more happy in
...
/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)
1995-03-19 13:29:28 +00:00
Andrey A. Chernov
5b515dcb38
Fix group permissions check for group list size > 1
...
Pointed by Bruce
1994-11-05 20:48:06 +00:00
Andrey A. Chernov
20662469d5
Fix root -w case according to manpage (-x & -r cases already accords)
...
Pointed by Bruce.
1994-11-05 20:24:49 +00:00
Andrey A. Chernov
01bb3d8e18
Cosmetique, missing tab/spaces after patch
1994-11-05 17:31:23 +00:00
Andrey A. Chernov
ea8bd6e348
More complex implementation of previos superuser fix
...
because rw and x bit treats differently infact
1994-11-05 17:28:03 +00:00
Andrey A. Chernov
3b0beab69c
test produce wrong results for superuser, i.e. tells
...
that file is unreadable when it is readable infact.
1994-11-05 17:07:14 +00:00
David Greenman
89730b290a
Added $Id$
1994-09-24 02:59:15 +00:00
Geoff Rehmet
282d727280
Make get_int() think that "" (null) has the integer value 0.
...
(Which is the same behaviour as in 1.x)
The install blows up without this.
Reviewed by: rgrimes
1994-09-11 21:30:09 +00:00
Geoff Rehmet
5fafa20681
- handle signs on integers properly,
...
- 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.
1994-09-11 13:57:31 +00:00
Rodney W. Grimes
4b88c807ea
BSD 4.4 Lite bin Sources
1994-05-26 06:18:55 +00:00