NetBSD/bin/ed/test
1995-04-23 10:07:18 +00:00
..
=.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
a1.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
a2.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
a.d
a.r
a.t
addr1.err Added more tests... 1993-05-27 01:28:27 +00:00
addr2.err Added more tests... 1993-05-27 01:28:27 +00:00
addr.d Added a line-addressing test so this isn't overlooked again. 1993-11-23 04:41:44 +00:00
addr.r Added a line-addressing test so this isn't overlooked again. 1993-11-23 04:41:44 +00:00
addr.t Added a line-addressing test so this isn't overlooked again. 1993-11-23 04:41:44 +00:00
ascii.d added support for lines of arbitrary length 1993-05-08 10:49:52 +00:00
ascii.r added support for lines of arbitrary length 1993-05-08 10:49:52 +00:00
ascii.t added support for lines of arbitrary length 1993-05-08 10:49:52 +00:00
bang1.d rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
bang1.err rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
bang1.r rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
bang1.t rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
bang2.err rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
c1.err added support for lines of arbitrary length 1993-05-08 10:49:52 +00:00
c2.err added support for lines of arbitrary length 1993-05-08 10:49:52 +00:00
c.d
c.r
c.t
ckscripts.sh clean up RCS Ids slightly, etc. 1995-04-23 10:07:18 +00:00
d.d
d.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
d.r
d.t Added tests: \n[12].[drt] [ik]3.err 1993-04-13 08:35:55 +00:00
e1.d
e1.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
e1.r
e1.t
e2.d
e2.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
e2.r
e2.t
e3.d
e3.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
e3.r
e3.t
e4.d fixed regex initialization 1993-06-16 07:36:51 +00:00
e4.r fixed regex initialization 1993-06-16 07:36:51 +00:00
e4.t fixed regex initialization 1993-06-16 07:36:51 +00:00
f1.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
f2.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
g1.d
g1.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
g1.r
g1.t
g2.d
g2.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
g2.r
g2.t
g3.d fixed undo within a global command (would corrupt the buffer) 1993-07-02 10:02:26 +00:00
g3.err added more tests 1993-04-23 02:09:38 +00:00
g3.r fixed undo within a global command (would corrupt the buffer) 1993-07-02 10:02:26 +00:00
g3.t fixed undo within a global command (would corrupt the buffer) 1993-07-02 10:02:26 +00:00
g4.d fixed undo within a global command (would corrupt the buffer) 1993-07-02 10:02:26 +00:00
g4.r fixed undo within a global command (would corrupt the buffer) 1993-07-02 10:02:26 +00:00
g4.t fixed undo within a global command (would corrupt the buffer) 1993-07-02 10:02:26 +00:00
g5.d rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
g5.r rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
g5.t rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
h.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
i1.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
i2.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
i3.err Added tests: \n[12].[drt] [ik]3.err 1993-04-13 08:35:55 +00:00
i.d
i.r
i.t
j.d
j.r
j.t
k1.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
k2.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
k3.err Added tests: \n[12].[drt] [ik]3.err 1993-04-13 08:35:55 +00:00
k4.err added tests for the k' and w' commands 1993-04-14 12:05:05 +00:00
k.d added tests for the k' and w' commands 1993-04-14 12:05:05 +00:00
k.r added tests for the k' and w' commands 1993-04-14 12:05:05 +00:00
k.t added tests for the k' and w' commands 1993-04-14 12:05:05 +00:00
l.d
l.r
l.t
m.d
m.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
m.r
m.t
Makefile convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
mkscripts.sh clean up RCS Ids slightly, etc. 1995-04-23 10:07:18 +00:00
n.d
n.r
n.t
nl1.d rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
nl1.r rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
nl1.t rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
nl2.d rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
nl2.r rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
nl2.t rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
nl.err rename !* -> bang* and \n* -> nl* 1993-11-12 10:50:14 +00:00
p.d
p.r
p.t
q1.err added support for lines of arbitrary length 1993-05-08 10:49:52 +00:00
q.d added more tests 1993-04-23 02:09:38 +00:00
q.r added more tests 1993-04-23 02:09:38 +00:00
q.t added more tests 1993-04-23 02:09:38 +00:00
r1.d
r1.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
r1.r
r1.t
r2.d
r2.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
r2.r
r2.t
r3.d
r3.r
r3.t
README convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
s1.d
s1.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
s1.r
s1.t
s2.d
s2.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
s2.r
s2.t
s3.d Added more tests... 1993-05-27 01:28:27 +00:00
s3.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
s3.r Added more tests... 1993-05-27 01:28:27 +00:00
s3.t Added more tests... 1993-05-27 01:28:27 +00:00
s4.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
s5.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
s6.err added more tests 1993-04-23 02:09:38 +00:00
s7.err added more tests 1993-04-23 02:09:38 +00:00
s8.err Added more tests... 1993-05-27 01:28:27 +00:00
s9.err Added more tests... 1993-05-27 01:28:27 +00:00
s10.err Added more tests... 1993-05-27 01:28:27 +00:00
t1.d updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
t1.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
t1.r updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
t1.t updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
t2.d updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
t2.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
t2.r updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
t2.t updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
t.d
t.r
TODO convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
u.d
u.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
u.r
u.t
v.d
v.r
v.t
w1.err added tests for the k' and w' commands 1993-04-14 12:05:05 +00:00
w2.err added tests for the k' and w' commands 1993-04-14 12:05:05 +00:00
w3.err added tests for the k' and w' commands 1993-04-14 12:05:05 +00:00
w.d
w.r
w.t
x.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00
z.err updated to alm's ed-0.2 1993-04-10 11:46:38 +00:00

$NetBSD: README,v 1.8 1995/03/21 09:05:18 cgd Exp $

The files in this directory with suffixes `.t', `.d', `.r' and `.err' are
used for testing ed.  To run the tests, set the ED variable in the Makefile
for the path name of the program to be tested (e.g., /bin/ed), and type
`make'.  The tests do not exhaustively verify POSIX compliance nor do
they verify correct 8-bit or long line support.

The test file suffixes have the following meanings:
.t    Template - a list of ed commands from which an ed script is
      constructed
.d    Data - read by an ed script
.r    Result - the expected output after processing data via an ed
      script.
.err  Error - invalid ed commands that should generate an error

The output of the tests is written to the two files err.o and scripts.o.
At the end of the tests, these files are grep'ed for error messages,
which look like:
	*** The script u.ed exited abnormally ***
or:
	*** Output u.o of script u.ed is incorrect ***

The POSIX requirement that an address range not be used where at most
a single address is expected has been relaxed in this version of ed.
Therefore, the  following scripts  which test for compliance with this
POSIX rule exit abnormally:
=-err.ed
a1-err.ed
i1-err.ed
k1-err.ed
r1-err.ed