minix/bin/ed/test
2012-03-14 16:52:31 +01:00
..
=.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
a.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
a.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
a1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
a2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
addr.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
addr.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
addr1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
addr2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
ascii.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
ascii.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
bang1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
bang1.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
bang1.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
bang2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
c.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
c.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
c1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
c2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
ckscripts.sh Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
d.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
d.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
d.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
e1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
e1.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
e1.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
e2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
e2.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
e2.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
e3.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
e3.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
e3.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
e4.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
e4.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
f1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
f2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g1.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g1.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g2.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g2.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g3.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g3.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g3.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g4.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g4.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g5.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
g5.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
h.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
i.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
i.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
i1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
i2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
i3.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
j.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
j.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
k.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
k.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
k1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
k2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
k3.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
k4.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
l.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
l.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
m.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
m.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
m.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
Makefile Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
mkscripts.sh Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
n.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
n.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
nl.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
nl1.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
nl1.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
nl2.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
nl2.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
p.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
p.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
q.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
q.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
q1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
r1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
r1.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
r1.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
r2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
r2.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
r2.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
r3.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
r3.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
README Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s1.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s1.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s2.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s2.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s3.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s3.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s3.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s4.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s5.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s6.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s7.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s8.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s9.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
s10.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
t.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
t1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
t1.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
t1.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
t2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
t2.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
t2.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
TODO Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
u.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
u.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
u.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
v.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
v.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
w.r Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
w.t Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
w1.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
w2.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
w3.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
x.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01:00
z.err Import NetBSD ed(1) 2012-03-14 16:52:31 +01: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