diff --git a/bin/test/test.1 b/bin/test/test.1 index df6a29021cb2..f2649cdb51cc 100644 --- a/bin/test/test.1 +++ b/bin/test/test.1 @@ -32,7 +32,7 @@ .\" @(#)test.1 8.1 (Berkeley) 5/31/93 .\" $FreeBSD$ .\" -.Dd July 3, 2004 +.Dd July 31, 2006 .Dt TEST 1 .Os .Sh NAME @@ -332,3 +332,16 @@ The utility implements a superset of the .St -p1003.2 specification. +.Sh BUGS +Both sides are always evaluated in +.Fl a +and +.Fl o , +unlike in the logical operators of +.Xr sh 1 . +For instance, the writable status of +.Pa file +will be tested by the following command even though the former expression +indicated false, which results in a gratuitous access to the file system: +.Pp +.Dl "[ -z abc -a -w file ]"