Commit Graph

518 Commits

Author SHA1 Message Date
pgoyette
4b607b8b71 These tests have been converted to atf 2010-12-21 14:26:17 +00:00
pgoyette
7d82dd048e Remove round test from old regress structure 2010-12-20 23:48:25 +00:00
jmmv
e9e065afc7 The libdes tests have been converted to atf and now live in tests/lib/libdes. 2010-08-25 16:47:43 +00:00
jmmv
9b3d800edb Remove the lib/csu/ and include/ tests; they have been converted to atf. 2010-07-17 19:29:33 +00:00
jmmv
59c643ac55 The libpthread tests have been converted to atf; remove the old versions. 2010-07-16 15:46:01 +00:00
jmmv
065d8f673d Remove tests converted to ATF. 2010-07-16 13:59:07 +00:00
mrg
4c92852a80 remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 05:59:50 +00:00
mrg
ac4a5823ad if pthread_create() fails, display the iteration number in the error message. 2010-02-16 00:15:19 +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
plunky
3b1c581042 remove libevent (uses ATF tests now) 2009-11-02 15:44:12 +00:00
plunky
212bd4a35c remove old libevent sources 2009-11-02 10:14:28 +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
tls
e234ec7db5 Update to libevent-1.4.11-stable. This has been a long time coming and
fixes many bugs, particularly with signal handling.

The regression tests have also been updated and complete successfully
on amd64.
2009-07-08 21:23:52 +00:00
christos
e100a74164 add regression test for gdtoa large field width. 2009-05-07 20:40:25 +00:00
drochner
6e71fa2242 add a test which exercises libpthread's ability to remember the
threads which were created, doing some random mallocs in between
so that threads are not equidistant in the address space
(bug fixed in libpthread/pthread.c rev. 1.109)
2009-04-02 12:58:44 +00:00
drochner
103beeac7d add a test which stresses the rbtree code with random numbers 2009-04-02 12:49:59 +00:00
christos
df54e2033e remove obsolete comment. 2009-03-08 19:17:11 +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
cube
5be3815a69 Don't try to descend into regress/lib/libcrypto now that it's not there
anymore.  [hi jmmv!]
2009-02-14 00:26:14 +00:00
jmmv
3baa49a10f Convert the threads libcrypto test to ATF and enable it. Drop the old one
in regress.
2009-02-13 22:01:48 +00:00
jmmv
79bfeb3610 Remove libcrypto regress tests as they have been converted to ATF. The new
versions live in tests/crypto/libcrypto.

Note that the "threads" test is still left here because it was not converted
as part of the atfify GSoC 2008 project.  A quick attempt at building it
doesn't work, so I'll leave it for later.
2009-02-13 20:59:17 +00:00
ad
1f73905f59 signal(getpid(), SIGFOO) -> raise(SIGFOO) 2009-01-30 23:19:12 +00:00
skrll
18a365911a Don't corrupt %r4 - it's a callee save.
Fixes regress/lib/csu/initfini on hppa.
2009-01-26 18:39:47 +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
christos
688adf3edf whitespace regression test from Andy Shevchenko 2008-08-28 16:40:05 +00:00
christos
70e554789a mktime regression test from Andy Shevchenko 2008-08-27 08:50:04 +00:00
gmcgarry
3cfcfe0917 return NULL 2008-08-17 00:19:52 +00:00
lukem
38e498a29c Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:33:31 +00:00
christos
3914f24884 make this compile again from Stathis Kamperis 2008-05-25 20:47:30 +00:00
peter
38ef85727a Update to libevent 1.4.4-stable.
Reviewed by provos@
2008-05-16 20:24:57 +00:00
martin
8acaa04128 Move to 2 clause license (can you spot the typo in the old text?) 2008-05-02 18:55:06 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
drochner
ba327d4301 make this compile again
(it isn't built by default, but anyway)
2008-04-01 19:20:43 +00:00
dholland
3bcd570495 No, it's not wrong after all. Sorry about the churn. I am going to adjust
bsd.own.mk so you can find NOMAN (and friends) with grep. Fixes PR 37750,
again.
2008-03-09 22:35:17 +00:00
dholland
a3ab568637 Revert previous; it is wrong. Unfixes PR 37750. 2008-03-09 21:38:13 +00:00
dholland
1e8742be01 Use NOMAN=, not MKMAN=no. PR misc/37750 from Johan A. van Zanten. 2008-03-09 21:22:29 +00:00
dholland
794833ef2c Make this smarter still, so it folds multiple names for the same port
together (and drops duplicate names entirely) like services_mkdb now
does. PR lib/37711.
2008-03-09 01:31:07 +00:00
dholland
678f3eced6 Make this smarter; diff the output instead of just wc'ing it. 2008-03-08 23:32:38 +00:00
christos
342c547a73 regression test for posix_memalign 2008-02-03 22:56:13 +00:00