xref: /illumos-gate/usr/src/test/util-tests/tests/awk/README (revision e6d6c189fa3a95d7aa27bbe0aeacf7c1a6b57c8c)
1*e6d6c189SCody Peter MelloThe following tests come from Brian Kernighan's tests collection:
2*e6d6c189SCody Peter Mello
3*e6d6c189SCody Peter Mello- data/ contains sample data used as input
4*e6d6c189SCody Peter Mello- examples/ contains example AWK programs
5*e6d6c189SCody Peter Mello    - p.* files are examples from The Awk Programming Environment (TAPE)
6*e6d6c189SCody Peter Mello    - t.* files are Kernighan's collection of useful examples
7*e6d6c189SCody Peter Mello- re/ contains tests for regular expressions
8*e6d6c189SCody Peter Mello- sub/ contains substitution tests
9*e6d6c189SCody Peter Mello- benchmarks/ contains benchmark programs
10*e6d6c189SCody Peter Mello
11*e6d6c189SCody Peter MelloThe tests in gnu/ and syn/ were gathered tests from gawk's "basic" and
12*e6d6c189SCody Peter Mello"unix-tests" targets (SHA 682b4299a9fd3023211e9db09f8e258d0ffd07e6).
13*e6d6c189SCody Peter MelloTests for the following were removed, since they aren't relevant to nawk:
14*e6d6c189SCody Peter Mello
15*e6d6c189SCody Peter Mello- Tested gawk's --lint behaviour
16*e6d6c189SCody Peter Mello- Differences between passing --traditional and not passing it
17*e6d6c189SCody Peter Mello- GNU-specific functions (like gensub, asort, asorti, and strftime)
18*e6d6c189SCody Peter Mello- GNU-specific builtins (like PROCINFO)
19*e6d6c189SCody Peter Mello- GNU-specific special variables (IGNORECASE)
20*e6d6c189SCody Peter Mello- Features that nawk doesn't support yet (like setting RS to a regex)
21