Bug 13091

Summary: [PATCH] pdksh-derived replacement for test(1)
Product: Base System Reporter: Sheldon Hearn <sheldonh>
Component: binAssignee: Sheldon Hearn <sheldonh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Sheldon Hearn 1999-08-12 12:50:01 UTC
	A recent query on the freebsd-hackers list for new features in
	test brought up the issue of NetBSD's pdksh-derived test(1).
	Two noteworthy extensions are the -nt (newer than) and -ot
	(older than) binary file operators.

	NetBSD has had this test(1) since mid 1994, with no significant
	changes since since late 1997.

Fix: Apply the following 27KB diff. Note that the operators.* files
	are obsoleted by this change.
How-To-Repeat: 
	N/A
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 1999-08-12 13:02:42 UTC
Responsible Changed
From-To: freebsd-bugs->sheldonh

I'd love feedback, particularly of the mpp and bde variety. :-) 

Comment 2 Sheldon Hearn 1999-08-12 14:07:16 UTC
Hmmm, the OpenBSD repo offers a few stylistic fixes, namely trailing
whitespace and (foo *)0 -> NULL. There are also a few functions for
which argument specification isn't indented.

I'm not going to repost the diff, since I'm not even sure it was such a
smart idea to submit this as a diff in the first place. The files are
available at

	http://www.freebsd.org/~sheldonh/test/

Ciao,
Sheldon.
Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 1999-08-16 11:03:29 UTC
State Changed
From-To: open->analyzed

Committed to HEAD a few minutes ago. I'll leave it in this state 
for an MFC. 
Comment 4 Sheldon Hearn freebsd_committer freebsd_triage 1999-08-19 13:31:11 UTC
State Changed
From-To: analyzed->suspended

There are issues with the use of access(2), raised by green. 
Comment 5 Sheldon Hearn freebsd_committer freebsd_triage 1999-08-23 15:05:37 UTC
State Changed
From-To: suspended->analyzed

Brian Feldman has addressed the access(2) issues. This is an MFC  
candidate again. 
Comment 6 Sheldon Hearn freebsd_committer freebsd_triage 1999-11-10 13:53:18 UTC
State Changed
From-To: analyzed->suspended

MFC candidates wait in suspended state, not analyzed state. 
Comment 7 Sheldon Hearn freebsd_committer freebsd_triage 1999-12-15 14:02:19 UTC
State Changed
From-To: suspended->closed

Merged to STABLE in time for 3.4-RELEASE.