Date: Tue, 17 Aug 1999 17:18:53 -0700 (PDT) From: Brian Feldman <green@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/test test.c Message-ID: <199908180018.RAA84904@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
green 1999/08/17 17:18:53 PDT
Modified files:
bin/test test.c
Log:
The new test(1) did not use access() correctly. I don't know why, since
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
Revision Changes Path
1.24 +7 -2 src/bin/test/test.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908180018.RAA84904>
