Commit Graph

58 Commits

Author SHA1 Message Date
lukem 857ab1bdd0 use ${HOST_SH} instead of /bin/sh 2003-10-26 03:50:07 +00:00
mycroft 4aa6d02a2d Maybe I'm just slow, but having diffs in the wrong direction confuses me... 2003-09-30 04:20:24 +00:00
cjep 80911070d5 Add a test for output when using context options and -z. 2003-09-14 15:10:49 +00:00
cjep 46b2019823 +grep 2003-09-14 13:51:16 +00:00
cjep 260648d185 Import of some regression tests for grep. Some of them based on tests
seen in OpenBSD src/regress/usr.bin/grep.
2003-09-14 13:47:47 +00:00
drochner 7fd74af1e3 add a "using namespace std" to make it compile with gcc3, and remove
the Makefile clause which disabled it in the gcc3 case
2003-09-03 20:53:16 +00:00
mrg 1e69032f26 forgot these with:
introduce an additional switch to enable building GCC3 instead of GCC2:
HAVE_GCC3.  if this is set, we also set USE_TOOLS_TOOLCHAIN=no.  change
the definition of the former to be restricted to whether tools/toolchain
is used or not.
2003-09-02 06:36:22 +00:00
skrll 640826818b s/DL_LAZY/RTLD_LAZY/ 2003-08-12 16:15:33 +00:00
sjg a41eaef46a Hook make unit-tests into regress 2003-08-08 06:42:38 +00:00
skrll d4773575b3 s/DL_LAZY/RTLD_LAZY/ 2003-08-01 07:04:31 +00:00
mrg a64be71369 disable this with gcc3 for now 2003-07-26 15:25:52 +00:00
drochner fc2a9b9ba7 remove a comment suggesting the link-in-whole-libgcc hack -- this
is not necessary anymore if the toolchain works properly
2003-06-26 18:43:35 +00:00
christos 0eba3d0e7c Add regression test for cvt nodes in ?: expression 2003-05-30 13:39:39 +00:00
christos 6f3e345734 regression test for ({ }) that does not return a value. 2003-05-24 22:19:14 +00:00
christos d0b7475bce more gcc compound statement test. 2003-05-20 14:01:04 +00:00
kleink 680a8382e2 Sync with ../testlib/Makefile rev. 1.3: s/testlib.so/libtest.so/. 2003-02-01 18:44:06 +00:00
nathanw 24b586b3b1 Add a couple of regression tests for dlerror() handling. 2002-11-14 21:10:45 +00:00
christos d821a394a8 more tests 2002-11-13 21:53:13 +00:00
christos f4be24a240 more tests 2002-10-23 01:09:36 +00:00
christos 5dfec29d4a add a regression test for compound literals. 2002-10-22 18:15:52 +00:00
christos b86bf23342 add variable array dimension [gcc extension]. Does C9X support this? 2002-10-22 13:47:40 +00:00
christos c56bbaaa39 oops, forgot one. 2002-10-22 13:34:45 +00:00
christos ce599fdf1d Tiny stand-alone code fragments to test lint's features/bugs.
Use obj/lint1 testX.c /dev/null to test.
We don't descend here or provide any test infrastructure yet.
2002-10-22 13:33:38 +00:00
lukem 08c81a9c2d some makefile de-linting
- list NOxxx and LDSTATIC= assignments before everything else
  (especially <bsd.own.mk>)
- ensure <bsd.own.mk> is included before NETBSDSRCDIR is used
- add missing RCSids
2002-09-18 05:41:35 +00:00
lukem 17d72c8a6b use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
drochner f70a22997b now that the build process is clean enough, pull in the dlopen() test 2002-08-28 17:10:24 +00:00
drochner eb9b2bd26e add a comment showing how to link in the whole libgcc -- workaround
for missing symbols on dlopen()
2002-08-28 17:09:17 +00:00
drochner 1e504e48a9 clean up building of the dlopen()able library - use <bsd.lib.mk> as
far as possible
2002-08-28 17:05:30 +00:00
wiz dd39c685f3 bsd.depall.mk doesn't exist anymore, use bsd.dep.mk instead. 2002-04-14 21:44:22 +00:00
lukem 49d225c297 add test for -P 2002-03-04 13:17:32 +00:00
itojun 0dd5877adc put TNF 4-clause license.
authors - if you are okay with more relaxed license terms, or the regression
test code was derived from others, pls change them.
2002-02-21 07:38:14 +00:00
tv 220b5c059a MKfoo=no -> NOfoo 2001-12-12 01:23:59 +00:00
tv 8bef0452bd ${MAKE} print-objdir -> ${PRINTOBJDIR} 2001-11-14 00:41:52 +00:00
tv c0c91b1b74 Simplify a bunch of explicit ${.OBJDIR} references to make these more like
the rest of the tree.
2001-10-31 15:57:49 +00:00
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