android13/external/one-true-awk/testdir
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
Compare.T1 initial 2024-06-22 20:45:49 +08:00
Compare.drek initial 2024-06-22 20:45:49 +08:00
Compare.p initial 2024-06-22 20:45:49 +08:00
Compare.t initial 2024-06-22 20:45:49 +08:00
Compare.tt initial 2024-06-22 20:45:49 +08:00
NOTES initial 2024-06-22 20:45:49 +08:00
README.TESTS initial 2024-06-22 20:45:49 +08:00
REGRESS initial 2024-06-22 20:45:49 +08:00
T.-f-f initial 2024-06-22 20:45:49 +08:00
T.argv initial 2024-06-22 20:45:49 +08:00
T.arnold initial 2024-06-22 20:45:49 +08:00
T.beebe initial 2024-06-22 20:45:49 +08:00
T.builtin initial 2024-06-22 20:45:49 +08:00
T.chem initial 2024-06-22 20:45:49 +08:00
T.close initial 2024-06-22 20:45:49 +08:00
T.clv initial 2024-06-22 20:45:49 +08:00
T.csconcat initial 2024-06-22 20:45:49 +08:00
T.delete initial 2024-06-22 20:45:49 +08:00
T.errmsg initial 2024-06-22 20:45:49 +08:00
T.expr initial 2024-06-22 20:45:49 +08:00
T.exprconv initial 2024-06-22 20:45:49 +08:00
T.flags initial 2024-06-22 20:45:49 +08:00
T.func initial 2024-06-22 20:45:49 +08:00
T.gawk initial 2024-06-22 20:45:49 +08:00
T.getline initial 2024-06-22 20:45:49 +08:00
T.int-expr initial 2024-06-22 20:45:49 +08:00
T.latin1 initial 2024-06-22 20:45:49 +08:00
T.lilly initial 2024-06-22 20:45:49 +08:00
T.main initial 2024-06-22 20:45:49 +08:00
T.misc initial 2024-06-22 20:45:49 +08:00
T.nextfile initial 2024-06-22 20:45:49 +08:00
T.overflow initial 2024-06-22 20:45:49 +08:00
T.re initial 2024-06-22 20:45:49 +08:00
T.recache initial 2024-06-22 20:45:49 +08:00
T.redir initial 2024-06-22 20:45:49 +08:00
T.split initial 2024-06-22 20:45:49 +08:00
T.sub initial 2024-06-22 20:45:49 +08:00
T.system initial 2024-06-22 20:45:49 +08:00
arnold-fixes.tar initial 2024-06-22 20:45:49 +08:00
beebe.tar initial 2024-06-22 20:45:49 +08:00
bib initial 2024-06-22 20:45:49 +08:00
bundle.awk initial 2024-06-22 20:45:49 +08:00
chem.awk initial 2024-06-22 20:45:49 +08:00
cleanup initial 2024-06-22 20:45:49 +08:00
countries initial 2024-06-22 20:45:49 +08:00
ctimes initial 2024-06-22 20:45:49 +08:00
echo.c initial 2024-06-22 20:45:49 +08:00
funstack.awk initial 2024-06-22 20:45:49 +08:00
funstack.in initial 2024-06-22 20:45:49 +08:00
funstack.ok initial 2024-06-22 20:45:49 +08:00
ind initial 2024-06-22 20:45:49 +08:00
latin1 initial 2024-06-22 20:45:49 +08:00
lilly.ifile initial 2024-06-22 20:45:49 +08:00
lilly.out initial 2024-06-22 20:45:49 +08:00
lilly.progs initial 2024-06-22 20:45:49 +08:00
lsd1.p initial 2024-06-22 20:45:49 +08:00
p.1 initial 2024-06-22 20:45:49 +08:00
p.2 initial 2024-06-22 20:45:49 +08:00
p.3 initial 2024-06-22 20:45:49 +08:00
p.4 initial 2024-06-22 20:45:49 +08:00
p.5 initial 2024-06-22 20:45:49 +08:00
p.5a initial 2024-06-22 20:45:49 +08:00
p.6 initial 2024-06-22 20:45:49 +08:00
p.7 initial 2024-06-22 20:45:49 +08:00
p.8 initial 2024-06-22 20:45:49 +08:00
p.9 initial 2024-06-22 20:45:49 +08:00
p.10 initial 2024-06-22 20:45:49 +08:00
p.11 initial 2024-06-22 20:45:49 +08:00
p.12 initial 2024-06-22 20:45:49 +08:00
p.13 initial 2024-06-22 20:45:49 +08:00
p.14 initial 2024-06-22 20:45:49 +08:00
p.15 initial 2024-06-22 20:45:49 +08:00
p.16 initial 2024-06-22 20:45:49 +08:00
p.17 initial 2024-06-22 20:45:49 +08:00
p.18 initial 2024-06-22 20:45:49 +08:00
p.19 initial 2024-06-22 20:45:49 +08:00
p.20 initial 2024-06-22 20:45:49 +08:00
p.21 initial 2024-06-22 20:45:49 +08:00
p.21a initial 2024-06-22 20:45:49 +08:00
p.22 initial 2024-06-22 20:45:49 +08:00
p.23 initial 2024-06-22 20:45:49 +08:00
p.24 initial 2024-06-22 20:45:49 +08:00
p.25 initial 2024-06-22 20:45:49 +08:00
p.26 initial 2024-06-22 20:45:49 +08:00
p.26a initial 2024-06-22 20:45:49 +08:00
p.27 initial 2024-06-22 20:45:49 +08:00
p.28 initial 2024-06-22 20:45:49 +08:00
p.29 initial 2024-06-22 20:45:49 +08:00
p.30 initial 2024-06-22 20:45:49 +08:00
p.31 initial 2024-06-22 20:45:49 +08:00
p.32 initial 2024-06-22 20:45:49 +08:00
p.33 initial 2024-06-22 20:45:49 +08:00
p.34 initial 2024-06-22 20:45:49 +08:00
p.35 initial 2024-06-22 20:45:49 +08:00
p.36 initial 2024-06-22 20:45:49 +08:00
p.37 initial 2024-06-22 20:45:49 +08:00
p.38 initial 2024-06-22 20:45:49 +08:00
p.39 initial 2024-06-22 20:45:49 +08:00
p.40 initial 2024-06-22 20:45:49 +08:00
p.41 initial 2024-06-22 20:45:49 +08:00
p.42 initial 2024-06-22 20:45:49 +08:00
p.43 initial 2024-06-22 20:45:49 +08:00
p.44 initial 2024-06-22 20:45:49 +08:00
p.45 initial 2024-06-22 20:45:49 +08:00
p.46 initial 2024-06-22 20:45:49 +08:00
p.47 initial 2024-06-22 20:45:49 +08:00
p.48 initial 2024-06-22 20:45:49 +08:00
p.48a initial 2024-06-22 20:45:49 +08:00
p.48b initial 2024-06-22 20:45:49 +08:00
p.49 initial 2024-06-22 20:45:49 +08:00
p.50 initial 2024-06-22 20:45:49 +08:00
p.51 initial 2024-06-22 20:45:49 +08:00
p.52 initial 2024-06-22 20:45:49 +08:00
p.table initial 2024-06-22 20:45:49 +08:00
penicil.p initial 2024-06-22 20:45:49 +08:00
res.p initial 2024-06-22 20:45:49 +08:00
sgi.ctimes initial 2024-06-22 20:45:49 +08:00
t.0 initial 2024-06-22 20:45:49 +08:00
t.0a initial 2024-06-22 20:45:49 +08:00
t.1 initial 2024-06-22 20:45:49 +08:00
t.1.x initial 2024-06-22 20:45:49 +08:00
t.2 initial 2024-06-22 20:45:49 +08:00
t.2.x initial 2024-06-22 20:45:49 +08:00
t.3 initial 2024-06-22 20:45:49 +08:00
t.3.x initial 2024-06-22 20:45:49 +08:00
t.4 initial 2024-06-22 20:45:49 +08:00
t.4.x initial 2024-06-22 20:45:49 +08:00
t.5.x initial 2024-06-22 20:45:49 +08:00
t.6 initial 2024-06-22 20:45:49 +08:00
t.6.x initial 2024-06-22 20:45:49 +08:00
t.6a initial 2024-06-22 20:45:49 +08:00
t.6b initial 2024-06-22 20:45:49 +08:00
t.8.x initial 2024-06-22 20:45:49 +08:00
t.8.y initial 2024-06-22 20:45:49 +08:00
t.NF initial 2024-06-22 20:45:49 +08:00
t.a initial 2024-06-22 20:45:49 +08:00
t.addops initial 2024-06-22 20:45:49 +08:00
t.aeiou initial 2024-06-22 20:45:49 +08:00
t.aeiouy initial 2024-06-22 20:45:49 +08:00
t.arith initial 2024-06-22 20:45:49 +08:00
t.array initial 2024-06-22 20:45:49 +08:00
t.array1 initial 2024-06-22 20:45:49 +08:00
t.array2 initial 2024-06-22 20:45:49 +08:00
t.assert initial 2024-06-22 20:45:49 +08:00
t.avg initial 2024-06-22 20:45:49 +08:00
t.b.x initial 2024-06-22 20:45:49 +08:00
t.be initial 2024-06-22 20:45:49 +08:00
t.beginexit initial 2024-06-22 20:45:49 +08:00
t.beginnext initial 2024-06-22 20:45:49 +08:00
t.break initial 2024-06-22 20:45:49 +08:00
t.break1 initial 2024-06-22 20:45:49 +08:00
t.break2 initial 2024-06-22 20:45:49 +08:00
t.break3 initial 2024-06-22 20:45:49 +08:00
t.bug1 initial 2024-06-22 20:45:49 +08:00
t.builtins initial 2024-06-22 20:45:49 +08:00
t.cat initial 2024-06-22 20:45:49 +08:00
t.cat1 initial 2024-06-22 20:45:49 +08:00
t.cat2 initial 2024-06-22 20:45:49 +08:00
t.cmp initial 2024-06-22 20:45:49 +08:00
t.coerce initial 2024-06-22 20:45:49 +08:00
t.coerce2 initial 2024-06-22 20:45:49 +08:00
t.comment initial 2024-06-22 20:45:49 +08:00
t.comment1 initial 2024-06-22 20:45:49 +08:00
t.concat initial 2024-06-22 20:45:49 +08:00
t.cond initial 2024-06-22 20:45:49 +08:00
t.contin initial 2024-06-22 20:45:49 +08:00
t.count initial 2024-06-22 20:45:49 +08:00
t.crlf initial 2024-06-22 20:45:49 +08:00
t.cum initial 2024-06-22 20:45:49 +08:00
t.d.x initial 2024-06-22 20:45:49 +08:00
t.delete0 initial 2024-06-22 20:45:49 +08:00
t.delete1 initial 2024-06-22 20:45:49 +08:00
t.delete2 initial 2024-06-22 20:45:49 +08:00
t.delete3 initial 2024-06-22 20:45:49 +08:00
t.do initial 2024-06-22 20:45:49 +08:00
t.e initial 2024-06-22 20:45:49 +08:00
t.else initial 2024-06-22 20:45:49 +08:00
t.exit initial 2024-06-22 20:45:49 +08:00
t.exit1 initial 2024-06-22 20:45:49 +08:00
t.f initial 2024-06-22 20:45:49 +08:00
t.f.x initial 2024-06-22 20:45:49 +08:00
t.f0 initial 2024-06-22 20:45:49 +08:00
t.f1 initial 2024-06-22 20:45:49 +08:00
t.f2 initial 2024-06-22 20:45:49 +08:00
t.f3 initial 2024-06-22 20:45:49 +08:00
t.f4 initial 2024-06-22 20:45:49 +08:00
t.for initial 2024-06-22 20:45:49 +08:00
t.for1 initial 2024-06-22 20:45:49 +08:00
t.for2 initial 2024-06-22 20:45:49 +08:00
t.for3 initial 2024-06-22 20:45:49 +08:00
t.format4 initial 2024-06-22 20:45:49 +08:00
t.fun initial 2024-06-22 20:45:49 +08:00
t.fun0 initial 2024-06-22 20:45:49 +08:00
t.fun1 initial 2024-06-22 20:45:49 +08:00
t.fun2 initial 2024-06-22 20:45:49 +08:00
t.fun3 initial 2024-06-22 20:45:49 +08:00
t.fun4 initial 2024-06-22 20:45:49 +08:00
t.fun5 initial 2024-06-22 20:45:49 +08:00
t.getline1 initial 2024-06-22 20:45:49 +08:00
t.getval initial 2024-06-22 20:45:49 +08:00
t.gsub initial 2024-06-22 20:45:49 +08:00
t.gsub1 initial 2024-06-22 20:45:49 +08:00
t.gsub3 initial 2024-06-22 20:45:49 +08:00
t.gsub4 initial 2024-06-22 20:45:49 +08:00
t.i.x initial 2024-06-22 20:45:49 +08:00
t.if initial 2024-06-22 20:45:49 +08:00
t.in initial 2024-06-22 20:45:49 +08:00
t.in1 initial 2024-06-22 20:45:49 +08:00
t.in2 initial 2024-06-22 20:45:49 +08:00
t.in3 initial 2024-06-22 20:45:49 +08:00
t.incr initial 2024-06-22 20:45:49 +08:00
t.incr2 initial 2024-06-22 20:45:49 +08:00
t.incr3 initial 2024-06-22 20:45:49 +08:00
t.index initial 2024-06-22 20:45:49 +08:00
t.intest initial 2024-06-22 20:45:49 +08:00
t.intest2 initial 2024-06-22 20:45:49 +08:00
t.j.x initial 2024-06-22 20:45:49 +08:00
t.longstr initial 2024-06-22 20:45:49 +08:00
t.makef initial 2024-06-22 20:45:49 +08:00
t.match initial 2024-06-22 20:45:49 +08:00
t.match1 initial 2024-06-22 20:45:49 +08:00
t.max initial 2024-06-22 20:45:49 +08:00
t.mod initial 2024-06-22 20:45:49 +08:00
t.monotone initial 2024-06-22 20:45:49 +08:00
t.nameval initial 2024-06-22 20:45:49 +08:00
t.next initial 2024-06-22 20:45:49 +08:00
t.not initial 2024-06-22 20:45:49 +08:00
t.null0 initial 2024-06-22 20:45:49 +08:00
t.ofmt initial 2024-06-22 20:45:49 +08:00
t.ofs initial 2024-06-22 20:45:49 +08:00
t.ors initial 2024-06-22 20:45:49 +08:00
t.pat initial 2024-06-22 20:45:49 +08:00
t.pipe initial 2024-06-22 20:45:49 +08:00
t.pp initial 2024-06-22 20:45:49 +08:00
t.pp1 initial 2024-06-22 20:45:49 +08:00
t.pp2 initial 2024-06-22 20:45:49 +08:00
t.printf initial 2024-06-22 20:45:49 +08:00
t.printf2 initial 2024-06-22 20:45:49 +08:00
t.quote initial 2024-06-22 20:45:49 +08:00
t.randk initial 2024-06-22 20:45:49 +08:00
t.re1 initial 2024-06-22 20:45:49 +08:00
t.re1a initial 2024-06-22 20:45:49 +08:00
t.re2 initial 2024-06-22 20:45:49 +08:00
t.re3 initial 2024-06-22 20:45:49 +08:00
t.re4 initial 2024-06-22 20:45:49 +08:00
t.re5 initial 2024-06-22 20:45:49 +08:00
t.re7 initial 2024-06-22 20:45:49 +08:00
t.reFS initial 2024-06-22 20:45:49 +08:00
t.rec initial 2024-06-22 20:45:49 +08:00
t.redir1 initial 2024-06-22 20:45:49 +08:00
t.reg initial 2024-06-22 20:45:49 +08:00
t.roff initial 2024-06-22 20:45:49 +08:00
t.sep initial 2024-06-22 20:45:49 +08:00
t.seqno initial 2024-06-22 20:45:49 +08:00
t.set0 initial 2024-06-22 20:45:49 +08:00
t.set0a initial 2024-06-22 20:45:49 +08:00
t.set0b initial 2024-06-22 20:45:49 +08:00
t.set1 initial 2024-06-22 20:45:49 +08:00
t.set2 initial 2024-06-22 20:45:49 +08:00
t.set3 initial 2024-06-22 20:45:49 +08:00
t.split1 initial 2024-06-22 20:45:49 +08:00
t.split2 initial 2024-06-22 20:45:49 +08:00
t.split2a initial 2024-06-22 20:45:49 +08:00
t.split3 initial 2024-06-22 20:45:49 +08:00
t.split4 initial 2024-06-22 20:45:49 +08:00
t.split8 initial 2024-06-22 20:45:49 +08:00
t.split9 initial 2024-06-22 20:45:49 +08:00
t.split9a initial 2024-06-22 20:45:49 +08:00
t.stately initial 2024-06-22 20:45:49 +08:00
t.strcmp initial 2024-06-22 20:45:49 +08:00
t.strcmp1 initial 2024-06-22 20:45:49 +08:00
t.strnum initial 2024-06-22 20:45:49 +08:00
t.sub0 initial 2024-06-22 20:45:49 +08:00
t.sub1 initial 2024-06-22 20:45:49 +08:00
t.sub2 initial 2024-06-22 20:45:49 +08:00
t.sub3 initial 2024-06-22 20:45:49 +08:00
t.substr initial 2024-06-22 20:45:49 +08:00
t.substr1 initial 2024-06-22 20:45:49 +08:00
t.time initial 2024-06-22 20:45:49 +08:00
t.vf initial 2024-06-22 20:45:49 +08:00
t.vf1 initial 2024-06-22 20:45:49 +08:00
t.vf2 initial 2024-06-22 20:45:49 +08:00
t.vf3 initial 2024-06-22 20:45:49 +08:00
t.x initial 2024-06-22 20:45:49 +08:00
td.1 initial 2024-06-22 20:45:49 +08:00
test.countries initial 2024-06-22 20:45:49 +08:00
test.data initial 2024-06-22 20:45:49 +08:00
time.c initial 2024-06-22 20:45:49 +08:00
try initial 2024-06-22 20:45:49 +08:00
tt.01 initial 2024-06-22 20:45:49 +08:00
tt.02 initial 2024-06-22 20:45:49 +08:00
tt.02a initial 2024-06-22 20:45:49 +08:00
tt.03 initial 2024-06-22 20:45:49 +08:00
tt.03a initial 2024-06-22 20:45:49 +08:00
tt.04 initial 2024-06-22 20:45:49 +08:00
tt.05 initial 2024-06-22 20:45:49 +08:00
tt.06 initial 2024-06-22 20:45:49 +08:00
tt.07 initial 2024-06-22 20:45:49 +08:00
tt.08 initial 2024-06-22 20:45:49 +08:00
tt.09 initial 2024-06-22 20:45:49 +08:00
tt.10 initial 2024-06-22 20:45:49 +08:00
tt.10a initial 2024-06-22 20:45:49 +08:00
tt.11 initial 2024-06-22 20:45:49 +08:00
tt.12 initial 2024-06-22 20:45:49 +08:00
tt.13 initial 2024-06-22 20:45:49 +08:00
tt.13a initial 2024-06-22 20:45:49 +08:00
tt.14 initial 2024-06-22 20:45:49 +08:00
tt.15 initial 2024-06-22 20:45:49 +08:00
tt.16 initial 2024-06-22 20:45:49 +08:00
tt.big initial 2024-06-22 20:45:49 +08:00
u.main initial 2024-06-22 20:45:49 +08:00
unbundle.awk initial 2024-06-22 20:45:49 +08:00
xc initial 2024-06-22 20:45:49 +08:00
yc initial 2024-06-22 20:45:49 +08:00

README.TESTS

The archive of test files contains 

- A shell file called REGRESS that controls the testing process.

- Several shell files called Compare* that control sub-parts
of the testing.

- About 160 small tests called t.* that constitute a random
sampling of awk constructions collected over the years.
Not organized, but they touch almost everything.

- About 60 small tests called p.* that come from the first
two chapters of The AWK Programming Language.  This is
basic stuff -- they have to work.

These two sets are intended as regression tests, to be sure
that a new version produces the same results as a previous one.
There are a couple of standard data files used with them,
test.data and test.countries, but others would work too.

- About 20 files called T.* that are self-contained and
more systematic tests of specific language features.
For example, T.clv tests command-line variable handling.
These tests are not regressions -- they compute the right
answer by separate means, then compare the awk output.
A specific test for each new bug found shows up in at least
one of these, most often T.misc.  There are about 220 tests
total in these files.

- Two of these files, T.re and T.sub, are systematic tests
of the regular expression and substitution code.  They express
tests in a small language, then generate awk programs that
verify behavior.

- About 20 files called tt.* that are used as timing tests;
they use the most common awk constructions in straightforward
ways, against a large input file constructed by Compare.tt.


There is undoubtedly more stuff in the archive;  it's been
collecting for years and may need pruning.  Suggestions for
improvement, additional tests (especially systematic ones),
and the like are all welcome.