Commit Graph

79 Commits

Author SHA1 Message Date
cube
2d66c7ea26 Add a regression test for PR#32329 by uwe@. The bug is not fixed yet,
though.

'pseudodev' depends on interface attribute 'hook', but doesn't explicitely
declare locators (which is perfectly allowed, and logical).  config(1)
should handle the situation properly.
2005-12-18 19:44:07 +00:00
cube
03696913fa config(1) must handle properly devices that can be their own parent. 2005-12-10 13:36:01 +00:00
cube
ce2b6bfe08 Add a test to make sure loops are handled properly. 2005-10-04 22:56:20 +00:00
cube
6b80161bb5 Add a comment explaining exactly what is being tested here. 2005-10-04 13:45:16 +00:00
cube
b31e2ad635 Add a test, POSTPONED_ORPHAN, that should fail (although it currently
does not).  Rework the Makefile magic to have failing and succeeding tests.

POSTPONED_ORPHAN is an example of a configuration where the user starts
negating an instance, and then adding an instance of a child of the negated
one.  The latter should be found as an erroneous orphan, as the parent was
negated beforewards.
2005-10-04 13:44:23 +00:00
cube
47161e3118 Descend into 'config', too. 2005-10-04 13:34:14 +00:00
cube
8745ad50f1 Add a regression test framework for config(1).
The first test, SHADOW_INSTANCE, includes an example of a shadowed
instance:  'child' only attaches to attribute hook, therefore the instance
'child* at parentii?' is shadowed by 'child* at hook?'.

However, that configuration file is still valid, and therefore must be
accepted.
2005-10-02 21:27:02 +00:00
christos
acf21e59f6 add regression test for c99 array range initializer. 2005-07-17 19:37:14 +00:00
peter
1cd94fe21a Add regression tests for basename(1) and dirname(1). 2005-04-04 16:48:45 +00:00
he
07a2e5539a Add two regression tests related to making the last line of the input
being available under the END pattern, ref. PR#29659.
2005-03-23 17:28:55 +00:00
yamt
70df2f92f0 test input from pipe, on which short-read can happen.
currently fails due to inappropriate error checks.
2005-02-21 20:08:18 +00:00
erh
327a4a6c1d Add a regression test for contatenated gzipped 0-length data. 2005-01-20 20:40:00 +00:00
yamt
f93812610d add a test for src/dist/nawk/lex.c rev.1.6. 2005-01-13 12:26:12 +00:00
mrg
015cfb41ad allow $GZIP to be overridden. 2004-12-01 12:35:02 +00:00
yamt
b8fdf9590c test no-error case as well. 2004-07-11 09:21:50 +00:00
yamt
6b173bb3d3 add some gzip tests. (currently fails.) 2004-07-10 19:32:06 +00:00
heas
750bcbd1bb The bug that this test was intended to check is rather volatile. In testing
the test :), I could not derive a data set that failed reliably.  So, I'm
removing it.
2004-03-30 09:33:55 +00:00
jmc
6fe4ead562 Convert to usage of UUDECODE_FILES and standardize on filename extension 2004-03-19 08:07:22 +00:00
martin
31644c5596 Add a regression test that (at least on some archs) catches the problem
fixed in  usr.bin/sort/fields.c rev. 1.18.
2004-03-14 23:01:33 +00:00
jdolecek
6831e8565e also unset LC_CTYPE, which affects character sort order too 2004-02-18 09:43:15 +00:00
christos
7bcd27fa9a Add another regression test that does not work right now. 2003-12-02 18:30:35 +00:00
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