Commit Graph

100 Commits

Author SHA1 Message Date
rmind
b2eedf1afb Add regression tests for sdiff(1).
From OpenBSD.
2007-02-19 19:42:50 +00:00
cube
329aa49851 Don't try cleaning what is now a source file. [hi hubertf!] 2007-02-19 11:15:47 +00:00
hubertf
1f32eee360 Don't generate input on the fly (the utf8 version is created from the
latin1 version using iconv). Make sure all files are cleaned up.
2007-02-17 18:30:29 +00:00
hubertf
65c821b927 Test if 'cut -c' is working with multibyte characters properly.
For PR 34244.
2007-02-17 18:27:55 +00:00
hubertf
b9df58262c Allow using something else than 'cut' to test this with the CUT env variable. 2007-01-23 21:32:55 +00:00
cube
303f904375 config(1) should not allow a deffs to use the same name as a previous
defflag/defparam.
2007-01-06 18:52:47 +00:00
christos
25dc0b1687 add tests for zero sized arrays. 2006-10-23 00:09:37 +00:00
christos
d9b2ba3ddf use HOST_SH since make might not fork a shell for a simple command. 2006-10-23 00:08:54 +00:00
he
834c0a7840 Add handling of the supposed-to-fail tests. Add an
"ok: <testname>" possibly followed by "(should warn & fail)" to the
output to make it a little more obvious what is being run.
2006-10-18 00:05:33 +00:00
he
7164372cfa Add a few regression tests for lint. These files are supposed to fail
lint checking.
2006-10-18 00:03:27 +00:00
skrll
6d031b3abb Link testlib against libm and libgcc_s so that all the required symbols
are available for all arches.

Some arches (arm and hppa) use SJLJ expections which requires stuff from
libgcc_s and some (hppa) always do immediate binding - libstdc++ requires
libm.

Fixes PR 33294 and regress/usr.bin/rtld/dlopen on hppa with the soon to
be committed unaligned reloc fix.
2006-10-16 09:21:55 +00:00
christos
4ac7ff4bf5 Another test. 2006-10-15 18:17:09 +00:00
christos
23d1e65c52 array init test 2006-10-15 15:09:38 +00:00
dogcow
8cf357b535 Add NetBSD tag, add bsd.subdir.mk include. 2006-10-14 23:38:40 +00:00
christos
dac81217a4 glue in the lint regression tests now that they work. 2006-10-14 21:10:53 +00:00
cube
f646b59f80 Add a regression test for PR#34111. 2006-08-07 12:05:06 +00:00
christos
a6f980e8fe PR/33995: Aleksey Cheusov: Add cut regression tests 2006-07-27 00:41:07 +00:00
christos
adc476477f Regression test for big-regexp from Aleksey Cheusov 2006-07-04 03:02:21 +00:00
simonb
704bdea4ca Use "GZIPPROG" instead of "GZIP", as gzip(1) uses the GZIP environment
variable to store options.
2006-05-29 16:47:07 +00:00
martin
dfd0099ebb Explain why this fails when run from nbmake-$ARCH.
From Simon J. Gerraty.
2006-03-21 08:31:13 +00:00
wiz
5d1e8b2745 Fix some typos. 2006-02-25 02:28:55 +00:00
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