freebsd-dev/bin/ed/test
1999-08-27 23:15:48 +00:00
..
=.err
a1.err
a2.err
a.d
a.r
a.t
addr1.err
addr2.err
addr.d Fixed range address bug: 1,2, == 2,2 not 2,. 1994-02-01 00:36:28 +00:00
addr.r Fixed range address bug: 1,2, == 2,2 not 2,. 1994-02-01 00:36:28 +00:00
addr.t Fixed range address bug: 1,2, == 2,2 not 2,. 1994-02-01 00:36:28 +00:00
ascii.d.uu Submitted by: phk 1994-07-23 18:14:06 +00:00
ascii.r.uu Submitted by: phk 1994-07-23 18:14:06 +00:00
ascii.t
bang1.d Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
bang1.err Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
bang1.r Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
bang1.t Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
bang2.err Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
c1.err
c2.err
c.d
c.r
c.t
ckscripts.sh $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
d.d
d.err
d.r
d.t
e1.d
e1.err
e1.r
e1.t
e2.d
e2.err
e2.r
e2.t
e3.d
e3.err
e3.r
e3.t
e4.d
e4.r
e4.t
f1.err
f2.err
g1.d
g1.err
g1.r
g1.t
g2.d
g2.err
g2.r
g2.t
g3.d fixed undo within a global command (would corrupt the buffer) 1993-06-26 06:47:21 +00:00
g3.err
g3.r fixed undo within a global command (would corrupt the buffer) 1993-06-26 06:47:21 +00:00
g3.t fixed undo within a global command (would corrupt the buffer) 1993-06-26 06:47:21 +00:00
g4.d fixed undo within a global command (would corrupt the buffer) 1993-06-26 06:47:21 +00:00
g4.r fixed undo within a global command (would corrupt the buffer) 1993-06-26 06:47:21 +00:00
g4.t fixed undo within a global command (would corrupt the buffer) 1993-06-26 06:47:21 +00:00
g5.d Fixed range address bug: 1,2, == 2,2 not 2,. 1994-02-01 00:36:28 +00:00
g5.r Fixed range address bug: 1,2, == 2,2 not 2,. 1994-02-01 00:36:28 +00:00
g5.t Fixed range address bug: 1,2, == 2,2 not 2,. 1994-02-01 00:36:28 +00:00
h.err
i1.err
i2.err
i3.err
i.d
i.r
i.t
j.d
j.r
j.t
k1.err
k2.err
k3.err
k4.err
k.d
k.r
k.t
l.d
l.r
l.t
m.d
m.err
m.r
m.t
Makefile $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
mkscripts.sh $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
n.d
n.r
n.t
nl1.d Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
nl1.r Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
nl1.t Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
nl2.d Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
nl2.r Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
nl2.t Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
nl.err Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
p.d
p.r
p.t
q1.err
q.d
q.r
q.t
r1.d
r1.err
r1.r
r1.t
r2.d
r2.err
r2.r
r2.t
r3.d
r3.r
r3.t
README $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
s1.d
s1.err
s1.r
s1.t
s2.d
s2.err
s2.r
s2.t
s3.d
s3.err
s3.r
s3.t
s4.err
s5.err
s6.err
s7.err
s8.err
s9.err
s10.err
t1.d
t1.err
t1.r
t1.t
t2.d
t2.err
t2.r
t2.t
t.d
t.r
TODO
u.d
u.err
u.r
u.t
v.d
v.r
v.t
w1.err
w2.err
w3.err
w.d
w.r
w.t
x.err
z.err

# $FreeBSD$

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