ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/vendor/FreeBSD/10.0/bin/ed/test/README
Revision: 9667
Committed: Sun Oct 22 23:45:46 2017 UTC (6 years, 6 months ago) by laffer1
File size: 1281 byte(s)
Log Message:
tag 10.0

File Contents

# Content
1 # $FreeBSD: release/10.0.0/bin/ed/test/README 50471 1999-08-27 23:15:48Z peter $
2
3 The files in this directory with suffixes `.t', `.d', `.r' and `.err' are
4 used for testing ed. To run the tests, set the ED variable in the Makefile
5 for the path name of the program to be tested (e.g., /bin/ed), and type
6 `make'. The tests do not exhaustively verify POSIX compliance nor do
7 they verify correct 8-bit or long line support.
8
9 The test file suffixes have the following meanings:
10 .t Template - a list of ed commands from which an ed script is
11 constructed
12 .d Data - read by an ed script
13 .r Result - the expected output after processing data via an ed
14 script.
15 .err Error - invalid ed commands that should generate an error
16
17 The output of the tests is written to the two files err.o and scripts.o.
18 At the end of the tests, these files are grep'ed for error messages,
19 which look like:
20 *** The script u.ed exited abnormally ***
21 or:
22 *** Output u.o of script u.ed is incorrect ***
23
24 The POSIX requirement that an address range not be used where at most
25 a single address is expected has been relaxed in this version of ed.
26 Therefore, the following scripts which test for compliance with this
27 POSIX rule exit abnormally:
28 =-err.ed
29 a1-err.ed
30 i1-err.ed
31 k1-err.ed
32 r1-err.ed

Properties

Name Value
cvs2svn:cvs-rev 1.1.1.1