Commit Graph

377 Commits

Author SHA1 Message Date
rmind 28b444bcec Revert the test addition. 2012-07-22 11:30:14 +00:00
rmind a7d27dddfd Add a simple test for cdb(5). 2012-07-21 22:22:55 +00:00
jruoho 35c44f57e2 The inttypes(3) check has already been moved to ATF. 2012-03-18 07:54:00 +00:00
joerg a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
pgoyette 478d663ec3 These tests have (finally) been atf-ified 2011-04-09 17:55:51 +00:00
pgoyette d8ae15f3b3 The getqaddrinfo test has been atf-ified 2011-01-11 16:34:27 +00:00
pgoyette b94984c7b8 Since the regex test is gone, don't try to descend into its SUBDIR 2011-01-08 18:42:47 +00:00
pgoyette e2c5b6a838 The regex test has been atf-ified 2011-01-08 18:13:42 +00:00
pgoyette 63aa7b9e06 rpc/xdr test has been atf-ified 2011-01-08 07:02:17 +00:00
pgoyette a3eac7b0e8 The db test has been atf-ified 2011-01-07 15:08:40 +00:00
pgoyette da0ee23dec cerror and ttyio tests have been atf-ified 2011-01-07 02:51:38 +00:00
pgoyette c2f7c581b7 mktime test has been atf-ified 2011-01-06 17:22:14 +00:00
pgoyette e6c87c26a0 The nsdispatch test has been atf-ified. 2011-01-05 21:20:25 +00:00
pgoyette ec5548b1f7 The strptime test has previously been atf-ified. 2011-01-05 16:21:29 +00:00
pgoyette 6152a60b95 The atexit test has been atf-ified. 2011-01-04 14:22:06 +00:00
pgoyette 2b4410ab94 The servent test has been atf-ified 2011-01-03 00:55:18 +00:00
pgoyette 83238dfab4 Remove atf-ified tests: servent protoent md5sha 2011-01-02 22:10:23 +00:00
pgoyette f6e425415c The ieeefp stuff has been atf-ified, with the exception of ieeefp/testfloat
(which was never hooked into the build anyway).
2011-01-02 03:59:34 +00:00
pgoyette d7a6e9b3f2 The last of the libc/stdlib tests have been atf-ified 2011-01-01 23:59:19 +00:00
pgoyette f4dac2e1a2 More tests have been atf-ified 2010-12-31 14:37:37 +00:00
pgoyette 42af51cd08 These tests have been atf-ified 2010-12-31 04:10:41 +00:00
pgoyette f7a830954f ldexp has been atf-ified 2010-12-28 17:35:25 +00:00
pgoyette 5b31ebdf7b The last of lib/libc/gen tests have been converted to atf. 2010-12-28 12:48:38 +00:00
pgoyette d852949aef The *setjmp tests have moved to atf 2010-12-27 19:39:09 +00:00
pgoyette 7c2409fa33 The ssp tests have moved to atf format in src/tests/lib/libc/ssp/ 2010-12-27 03:33:46 +00:00
pgoyette bc33547390 Remove the rest of the libc/string tests - they've moved to atf 2010-12-26 13:38:08 +00:00
pgoyette d9958c63e6 Remove regress versions of str* tests - they have been atf-ified 2010-12-25 21:13:37 +00:00
pgoyette f28bd1fe2e Don't descend into siginfo - it's not there any more 2010-12-25 01:20:11 +00:00
pgoyette 0352bad5fd The siginfo tests have migrated to atf in src/tests/lib/libc/gen/ 2010-12-25 01:08:36 +00:00
pgoyette 73ed959de1 Remove a couple tests - they've moved to atf 2010-12-23 15:32:03 +00:00
pgoyette 5fb1be5c8e Remove these tests from regress - they've been converted to atf 2010-12-22 23:48:19 +00:00
pgoyette 4b607b8b71 These tests have been converted to atf 2010-12-21 14:26:17 +00:00
mrg e3dc1c5e34 make this test actually work:
- posix_memalign() does not set errno, it returns 0 or an error number
  (maybe a jemalloc() vs. phkmalloc() issue, but also how the opengroup
  documents it.)
- since "align" must be >= sizeof(void *), expect to fail align=4 on
  LP64 systems.
- while i'm here, add a test for align=2 failing everywhere.
2010-01-26 22:14:01 +00:00
uebayasi fac33cd8a3 Handle undefined USE_SSP. XXX *_SSP variables needs clean-up. 2009-11-25 09:30:04 +00:00
uebayasi 82bc011c43 Descend into ssp/ only if ${USE_SSP} is yes. 2009-11-25 09:22:36 +00:00
dsl 846f8720b2 Start with alignment '1' and write the search char to the byte before
the buffer.
XXX needs tests searching for 0xff.
2009-07-18 16:34:47 +00:00
dsl 8b3b305143 Add tests that scan for 0x0 and 0xff.
Remove the 'answers' section from the test definition, instead use our
own version of strchr() to determine the what the answer should be.
On error report which test we are doing, and the answer we got.
If symbol "test_strchr" exists, test that function instead of strchr().
(With a very dodgy strchr() other things fail badly.
2009-07-18 09:20:46 +00:00
pgoyette 0eb19985a4 We can try to trick the compiler, but at least we need to let it
compile!  (Hello, dsl!)
2009-07-18 04:34:32 +00:00
dsl ea7ea23a08 Pollute the space either side of the string being compared with the test
pattern.
2009-07-17 22:07:36 +00:00
dsl 749e537220 The local function pointer wasn't enough to stop gcc using the builtin
strlen!  Move to file scope and make 'volatile'.
When test fails use write (printf might be broken) to report info.
To aid testing new versions, use dlsym() for "test_strlen" defaulting to
strlen() so that the rest of the program doesn't use the broken version.
2009-07-11 11:45:16 +00:00
christos e100a74164 add regression test for gdtoa large field width. 2009-05-07 20:40:25 +00:00
drochner 103beeac7d add a test which stresses the rbtree code with random numbers 2009-04-02 12:49:59 +00:00
christos a009ca9c11 si_sigval is now si_value. 2009-02-17 19:22:43 +00:00
christos cfd10fe258 add a regression test for sigfpe. Most ports don't pass it right now. 2009-02-17 19:05:22 +00:00
ad 1f73905f59 signal(getpid(), SIGFOO) -> raise(SIGFOO) 2009-01-30 23:19:12 +00:00
nonaka 459e757bd6 Use %zu instead of %lu. for size_t. 2009-01-25 17:00:09 +00:00
lukem 540d0089bd sign-compare fix 2009-01-25 13:40:05 +00:00
christos 3048e3cf13 add glue to compile all the files we use from libc here. 2009-01-24 22:11:45 +00:00
lukem c5eb4ab601 fix -Wsign-compare issues 2009-01-18 11:56:51 +00:00
tnozaki 52ed7b035f Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).

[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
  new locale-db implementation using citrus_db backend,
  see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
  internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].

[tools]
- mklocale(1): add new option ``-t'' that generates new style
  LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().

[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
    en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
    zh_CN.eucCN -> zh_CN.GB18030
    and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
  for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.

i tested release-build following arch:
  i386, amd64, hpc{mips,arm,sh}, sparc64, vax.

citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<

old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 00:20:18 +00:00