cvs commit: src/usr.bin/sed/TEST sed.test
Diomidis Spinellis
dds at FreeBSD.org
Tue Jul 22 12:22:09 PDT 2003
dds 2003/07/22 12:22:08 PDT
FreeBSD src repository
Modified files:
usr.bin/sed/TEST sed.test
Log:
Test 8.16 in sed.test tests the ability of a sed to handle an empty
regular expression as the first argument to a substitute command. If
used to test a sed which (erroneously) evaluates this at translation
time rather than at execution time, the bugged sed is put into an
infinite loop. This mode of failure seems excessive. Such a failing
sed is the Free Software Foundation's sed 3.02.
The specific test was also not being executed for the BSD sed.
Both problems are now fixed.
PR: misc/25585
Submitted by: Walter Briscoe <w.briscoe at ponl.com>
Approved by: schweikh (mentor)
MFC after: 2 weeks
Revision Changes Path
1.3 +19 -11 src/usr.bin/sed/TEST/sed.test
More information about the cvs-src
mailing list