11.8Scgd$NetBSD: README,v 1.8 1995/03/21 09:05:18 cgd Exp $
21.8Scgd
31.2ScgdThe files in this directory with suffixes `.t', `.d', `.r' and `.err' are
41.2Scgdused for testing ed.  To run the tests, set the ED variable in the Makefile
51.2Scgdfor the path name of the program to be tested (e.g., /bin/ed), and type
61.4Salm`make'.  The tests do not exhaustively verify POSIX compliance nor do
71.4Salmthey verify correct 8-bit or long line support.
81.4Salm
91.4SalmThe test file suffixes have the following meanings:
101.4Salm.t    Template - a list of ed commands from which an ed script is
111.4Salm      constructed
121.4Salm.d    Data - read by an ed script
131.4Salm.r    Result - the expected output after processing data via an ed
141.4Salm      script.
151.4Salm.err  Error - invalid ed commands that should generate an error
161.1Scgd
171.2ScgdThe output of the tests is written to the two files err.o and scripts.o.
181.2ScgdAt the end of the tests, these files are grep'ed for error messages,
191.2Scgdwhich look like:
201.1Scgd	*** The script u.ed exited abnormally ***
211.1Scgdor:
221.1Scgd	*** Output u.o of script u.ed is incorrect ***
231.1Scgd
241.2ScgdThe POSIX requirement that an address range not be used where at most
251.2Scgda single address is expected has been relaxed in this version of ed.
261.2ScgdTherefore, the  following scripts  which test for compliance with this
271.2ScgdPOSIX rule exit abnormally:
281.2Scgd=-err.ed
291.2Scgda1-err.ed
301.2Scgdi1-err.ed
311.2Scgdk1-err.ed
321.2Scgdr1-err.ed
33