simonb
da2d78510a
Add the standard test suite that comes with the bzip2 distribution.
2001-06-05 07:20:42 +00:00
jdolecek
2e9a3795da
Explicitly unset LANG and LC_ALL before doing any tests - some tests
...
fail if sort(1) is run with non-C locale.
Fix the test #42 - /usr/share/dict/words is sorted with -f (case insens),
so we need use the -f flag here too!
2001-05-14 21:31:38 +00:00
jdolecek
93af81c13f
fix the awk regexp for test 40B to work with nawk too
2001-05-14 20:39:10 +00:00
itojun
2ec4dd8585
sort -H $dict bombs (needs to be fixed). PR 12763
2001-04-18 02:25:38 +00:00
itojun
d5822f49d1
add test 41: sort -f < emptyfile bombs.
2001-02-15 17:23:20 +00:00
jdolecek
df1e7da042
40B: just symlink in and out, don't bother copying it
...
use -f for the sort
2001-01-19 12:34:45 +00:00
jdolecek
51a5f86386
don't use $s in test #39 , that test doesn't depend on presence of -s
...
add two new regressions tests for long lines as test #40 , using
/usr/share/dict/words; in-tree sort currently crashes during 40B, going
to fix it soon
2001-01-15 18:52:32 +00:00
jdolecek
fdbaf840be
don't print any note - stest prints its own
2001-01-15 16:13:59 +00:00
simonb
439b247426
Add the "sort the dictionary" test that detected the recent lossage.
2001-01-14 14:47:56 +00:00
jdolecek
96731d46b9
use $S for stuff calling sort directly, not via xsort
2001-01-12 22:35:07 +00:00
jdolecek
a8b321c587
print a disclaimer on startup about this test suite - other sort implementations
...
may fail some tests, yet conform to standard too; for non-stable sort,
quite a few tests have actually more possible 'correct' results, yuck!
check for presence of -S and use it to switch to non-stable sort - the tests
are not written for stable sort
Fix test 37 - for 'sort -m -r' to actually work, the input files have
to be reverse sorted as well. Now the in-tree BSD sort passes this test ;-)
print the used sort command and parameters for 'failed' messages
other small sleanups, remove accidentaly added debug stuff
2001-01-12 21:45:17 +00:00
jdolecek
2ec37dafdc
do not mess with $o if misplaced -o is supported - it's orhogonal to +POS/-POS support
2001-01-11 22:26:55 +00:00
jdolecek
4502c34907
do not display the actuall command executing stests
2001-01-11 22:19:29 +00:00
jdolecek
9d7f88dae6
change so that test 35 print warning about missing -g just once
...
s/not present/not supported/
2001-01-11 22:18:38 +00:00
jdolecek
50b80dfd9f
use shell functions instead of dynamically created external scripts
...
warn when test is skipped due to missing feature
2001-01-11 22:10:27 +00:00
jdolecek
0664ed5c26
make objdir safe
2001-01-11 14:12:14 +00:00
drochner
b2779a2f25
test for dlopen(3) and the toolchain generating the files involved
2000-12-08 19:24:29 +00:00
drochner
44e89b161e
test program for dlopen(3)
2000-12-08 19:22:51 +00:00
drochner
08a3f0ae6e
test cases for dynamically loaded objects: constructor/destructor call for
...
static objects, C++ runtime support
2000-12-08 19:21:28 +00:00
jdolecek
5aadf3060b
put in NetBSD RCS id
...
put it comment that this was derived from stuff written by
Peter McIlroy - it's not clear now that it's separate from
the rest of new BSD-licenced sort(1)
2000-11-06 14:42:40 +00:00
jdolecek
374e0e8fff
move usr.bin/sort/TEST/stest to regress/usr.bin/sort, add to
...
regression tests
2000-10-26 23:51:31 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
cgd
c158cef28f
add regression tests for some m4 problems I recently found relating
...
to confusing 0xff characters with EOF.
1997-12-30 23:30:48 +00:00
cgd
a1f556da83
add regression tests for usr.bin/m4
1997-12-30 23:27:11 +00:00