f60ef8ffaf | ||
---|---|---|
.. | ||
=.err | ||
Makefile | ||
README | ||
TODO | ||
a.d | ||
a.r | ||
a.t | ||
a1.err | ||
a2.err | ||
addr.d | ||
addr.r | ||
addr.t | ||
addr1.err | ||
addr2.err | ||
ascii.d | ||
ascii.r | ||
ascii.t | ||
bang1.d | ||
bang1.err | ||
bang1.r | ||
bang1.t | ||
bang2.err | ||
c.d | ||
c.r | ||
c.t | ||
c1.err | ||
c2.err | ||
ckscripts.sh | ||
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.ed | ||
e3.err | ||
e3.o | ||
e3.r | ||
e3.t | ||
e4.d | ||
e4.r | ||
e4.t | ||
f1.err | ||
f2.err | ||
g1.d | ||
g1.ed | ||
g1.err | ||
g1.o | ||
g1.r | ||
g1.t | ||
g2.d | ||
g2.ed | ||
g2.err | ||
g2.o | ||
g2.r | ||
g2.t | ||
g3.d | ||
g3.err | ||
g3.r | ||
g3.t | ||
g4.d | ||
g4.r | ||
g4.t | ||
g5.d | ||
g5.r | ||
g5.t | ||
h.err | ||
i.d | ||
i.ed | ||
i.o | ||
i.r | ||
i.t | ||
i1.err | ||
i2.err | ||
i3.err | ||
j.d | ||
j.ed | ||
j.o | ||
j.r | ||
j.t | ||
k.d | ||
k.r | ||
k.t | ||
k1.err | ||
k2.err | ||
k3.err | ||
k4.err | ||
l.d | ||
l.ed | ||
l.o | ||
l.r | ||
l.t | ||
m.d | ||
m.ed | ||
m.err | ||
m.o | ||
m.r | ||
m.t | ||
mkscripts.sh | ||
n.d | ||
n.ed | ||
n.o | ||
n.r | ||
n.t | ||
nl.err | ||
nl.r | ||
nl.t | ||
nl1.d | ||
nl1.r | ||
nl1.t | ||
nl2.d | ||
nl2.r | ||
nl2.t | ||
p.d | ||
p.ed | ||
p.o | ||
p.r | ||
p.t | ||
q.d | ||
q.r | ||
q.t | ||
q1.err | ||
r1.d | ||
r1.ed | ||
r1.err | ||
r1.o | ||
r1.r | ||
r1.t | ||
r2.d | ||
r2.ed | ||
r2.err | ||
r2.o | ||
r2.r | ||
r2.t | ||
r3.d | ||
r3.ed | ||
r3.o | ||
r3.r | ||
r3.t | ||
s1.d | ||
s1.ed | ||
s1.err | ||
s1.o | ||
s1.r | ||
s1.t | ||
s2.d | ||
s2.ed | ||
s2.err | ||
s2.o | ||
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 | ||
t.d | ||
t.ed | ||
t.o | ||
t.r | ||
t.t | ||
t1.d | ||
t1.err | ||
t1.r | ||
t1.t | ||
t2.d | ||
t2.err | ||
t2.r | ||
t2.t | ||
u.d | ||
u.ed | ||
u.err | ||
u.o | ||
u.r | ||
u.t | ||
v.d | ||
v.ed | ||
v.o | ||
v.r | ||
v.t | ||
w.d | ||
w.ed | ||
w.o | ||
w.r | ||
w.t | ||
w1.err | ||
w2.err | ||
w3.err | ||
x.err | ||
z.err |
README
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