Commit Graph

251 Commits

Author SHA1 Message Date
simonb
439b247426 Add the "sort the dictionary" test that detected the recent lossage. 2001-01-14 14:47:56 +00:00
christos
0f41b74720 remove duplicate target empty. 2001-01-14 06:35:57 +00:00
christos
09b8ab7adf protect against multiple inclusion; bsd.prog.mk will re-include this file 2001-01-14 06:24:53 +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
simonb
699a13760c Add regression tests for div/ldiv/lldiv. 2001-01-08 04:41:31 +00:00
simonb
d7d808597e Add regression tests for div/ldiv/lldiv.
Inspired by port-i386/11914 from Luke Mewburn.
2001-01-08 04:39:31 +00:00
drochner
b2779a2f25 test for dlopen(3) and the toolchain generating the files involved 2000-12-08 19:24:29 +00:00
drochner
44e89b161e test program for dlopen(3) 2000-12-08 19:22:51 +00:00
drochner
08a3f0ae6e test cases for dynamically loaded objects: constructor/destructor call for
static objects, C++ runtime support
2000-12-08 19:21:28 +00:00
itojun
cbfaeab846 "make benchmark" will run a tiny benchmark test. 2000-11-08 06:02:01 +00:00
itojun
b7192d086c move WARNS to ../Makefile.inc 2000-11-08 05:14:56 +00:00
itojun
2ce9195af1 set WARNS?=1. fix error trap in rijndael test. sync with kame 2000-11-08 05:08:55 +00:00
jdolecek
5aadf3060b put in NetBSD RCS id
put it comment that this was derived from stuff written by
  Peter McIlroy - it's not clear now that it's separate from
  the rest of new BSD-licenced sort(1)
2000-11-06 14:42:40 +00:00
itojun
76a9ffd207 sync calling sequence with kernel code. sync with kame 2000-11-05 03:15:57 +00:00
jdolecek
9681f1c1b6 use fmtcheck(), not __fmtcheck()
Fixes misc/11409 by Richard Earnshaw.
2000-11-02 18:06:30 +00:00
itojun
077d6e9048 visit crypto if MKCRYPTO!=no 2000-11-01 15:34:28 +00:00
itojun
985a5fe39c regression test for kernel crypto tree. it helps us to verify those
logic are working right, on various platforms.  from KAME
2000-11-01 15:33:21 +00:00
jdolecek
374e0e8fff move usr.bin/sort/TEST/stest to regress/usr.bin/sort, add to
regression tests
2000-10-26 23:51:31 +00:00
jdolecek
efba0ca36a descend into bin/expr 2000-10-26 23:32:59 +00:00
jdolecek
224d8e7e7e add two tests for expr 2000-10-26 23:32:14 +00:00
briggs
06dc227e73 Regression tests for fmtcheck(3). 2000-10-20 18:59:53 +00:00
itojun
289ebac6b2 wrap libcrypto with ${MKCRYPTO} == "yes" 2000-10-04 00:49:44 +00:00
itojun
35acecee2a regression test for libcrypto. 2000-10-03 15:13:21 +00:00
sommerfeld
d3b573e04a Add md5sha subdir 2000-08-19 17:53:24 +00:00
sommerfeld
7869a64f4e Add string.h 2000-08-19 17:52:13 +00:00
sommerfeld
639160ce5f Quick & dirty sha1/md5 regression test. 2000-08-19 17:51:19 +00:00
mjl
7d792964e5 Fix obvious pasto resulting in third test series never being done. 2000-07-31 12:22:39 +00:00
jdolecek
f4a3ee2726 add NetBSD RCS id 2000-07-30 09:16:06 +00:00
jdolecek
0c8766beed make the parent kill off it's children after it's main loop is finished.
This solves problem reported privately by Thomas Klausner, where the
regress test would take very very long to complete.
2000-07-30 08:48:31 +00:00
jdolecek
eec8346517 ptrace(PT_DETACH,...) behaves same way as PT_CONTINUE WRT addr & data;
specifically, if we pass NULL addr, we cause the child to jump
to address zero and SIGSEGV immediatelly; pass (caddr_t) 1 instead
while here, improve some error messages and slighly delint
2000-07-27 21:37:39 +00:00
cgd
823d32f2c2 DPADD ${LIBSKEY} as well as LDADDing -lskey 2000-07-27 00:25:05 +00:00
mycroft
d72583bda6 LDFLAGS -> LDADD, so this compiles statically. 2000-07-24 00:00:21 +00:00
mjl
c9898c1e6e Skey hash algorithm regression test. 2000-07-06 22:35:57 +00:00
matt
477556bda3 include cleanup in regress. 2000-07-03 04:02:34 +00:00
pk
bb91cdc5ac test 6 & 7: make the extent have the intended total of size 12 (noticed
by Matthias Drochner).
2000-07-02 22:36:50 +00:00
pk
0c19f5a36f Another `last boundary' test taking a different code path. This time
the allocation triggers a `boundary fixup' but should nevertheless
fit in the remaining space of the map.
2000-06-27 21:30:03 +00:00
pk
8205ce2a01 Add a test to check whether allocation succeeds beyond the last boundary
line in case the last boundary does not coincide with the extent end.
2000-06-27 21:08:30 +00:00
thorpej
e7d6b96938 Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so.  Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.
2000-06-20 06:00:24 +00:00
drochner
aed1ad645a add test cases for the boundary overflows just fixed by mrg 2000-06-16 18:50:45 +00:00
cgd
db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
sommerfeld
3201cef754 Lockf regression test. 2000-06-12 14:42:02 +00:00
thorpej
cae2b7cc11 Clean up warnings, enable WARNS=1. 2000-06-06 17:30:41 +00:00
thorpej
d20c2ec7d2 - Kill some warnings, and enable WARNS=1.
- Use CMSG_SPACE() and CMSG_DATA() properly; don't define structures
  to hold messages, which will not have the correct alignment after
  the cmsg header.
2000-06-05 06:01:42 +00:00
thorpej
4128c0f2b8 Explain why we can expect to have some resident pages even after an
MADV_FREE of a range in e.g. a SYSV SHM segment, and make such a
condition not a failure of the regression test.

Addresses kern/10115, submitted by Thomas Klausner.
2000-05-19 04:56:48 +00:00
is
4e69cf7536 revert the depend change... it was unneeded, and is even hurting in some
cases.
2000-04-28 22:01:14 +00:00
is
6623a43ecc Local-ize local labels 2000-04-25 19:59:50 +00:00
is
f1046e077c Make this depend again. 2000-04-15 20:09:11 +00:00
is
97df1401a1 Move original Motorola files to the "dist" subdirectory, in response
to PR 9626 by Kris Shannon.
2000-04-14 20:24:29 +00:00
simonb
93612566bb Use proginstall:: to disable installing PROG. 2000-03-19 02:47:19 +00:00
kleink
3c2c0b888e Don't rely on <stdio.h> making visible identifiers from <sys/types.h>. 2000-03-06 18:51:57 +00:00
tsutsui
d764df518d Make "make dependall" work. 2000-02-16 12:45:17 +00:00
christos
52bb917ad0 Make this work properly with the X/Open spec of semctl(2). 2000-01-31 15:10:34 +00:00
mycroft
644cd96c07 Clean all the files... 2000-01-24 03:01:54 +00:00
mycroft
978f77c8fe Yet another check. 2000-01-24 00:39:17 +00:00
mycroft
1ac1e1c19c Don't link with -N. 2000-01-24 00:10:22 +00:00
mycroft
80cd007209 Add more check_residency() calls. 2000-01-24 00:00:25 +00:00
itohy
0a24593bda Make it build on ELF toolchain. 1999-12-09 09:08:00 +00:00
tron
ce769110bd Add "popen" sub directory. 1999-09-30 09:29:11 +00:00
tron
bbd19041eb Regress test for popen(). 1999-09-30 09:23:23 +00:00
mrg
a2f3d5f1e1 add <bsd.crypto.mk> support 1999-09-26 10:22:29 +00:00
enami
655a89ab8a Specify libgcc_spec after lib_spec when DESTDIR is defined to keep
consistency with the case DESTDIR is not define.  This is part of PR#8369.
1999-09-25 13:06:36 +00:00
mycroft
41bca4ea0c Oops; remember to clean the output file. 1999-08-30 17:06:33 +00:00
mycroft
cf88227d9a Add a regression test for ldexp(). 1999-08-30 17:03:16 +00:00
thorpej
51e12b8455 Add the SVID IPC tests. 1999-08-25 05:16:41 +00:00
thorpej
708b54cada Add a simple (very simple) test program for the System V Semaphores
facility.

XXX No, really, this is very simple.  It tests but a small fraction of
this facility, but it is enough to verify that I didn't break anything
with some forthcoming changes to the kernel.
1999-08-25 04:35:34 +00:00
thorpej
0eb52fcc16 Sanity check the data in the reciver. 1999-08-24 23:17:46 +00:00
thorpej
6aae223af2 Be more careful when sanity checking the message queue mode. 1999-08-24 23:03:03 +00:00
thorpej
aa3711786b Add a simple test program for the System V Shared Memory facility. 1999-08-24 23:01:56 +00:00
thorpej
6543a6ec9b Fix a thinko in a comment. 1999-08-24 22:36:33 +00:00
thorpej
19284c2ebf oops, err() -> errx() in a couple of places. 1999-08-24 22:26:49 +00:00
thorpej
58de5d9be1 Add a simple test program for the System V Message Queues facility. 1999-08-24 22:08:56 +00:00
thorpej
5839453a0d Oops, supply mode bits to shmget(2). 1999-08-06 23:40:10 +00:00
thorpej
678ef99d81 Check for shmat(2) failure correctly. 1999-08-06 23:01:41 +00:00
sommerfeld
9ee533d1f6 Let builder define DESTDIR in mk.conf or 1999-08-01 13:42:00 +00:00
mjacob
55d3c9279d add in inclusion of file to get memset prototype declaration. 1999-07-21 21:46:17 +00:00
thorpej
f6d7947c4b Add a test for mprotect()'ing a region from PROT_NONE to anything else
which is in an address space configured MCL_FUTURE.
1999-07-18 00:43:22 +00:00
thorpej
b9aef1ceeb Add code which creates a System V shared memory segment, attaches to it,
makes it resident, MADV_FREE's it, and then checks to see that the pages
are indeed no longer resident.  This tests the uvm_aobj flush routine.
1999-07-17 06:01:52 +00:00
thorpej
11d1a47bbf Add some code to test sync'ing a PROT_WRITE+MAP_SHARED file. 1999-07-14 21:10:13 +00:00
sommerfeld
8da02df781 Add permission checking (execute-only innermost directory) 1999-07-11 09:54:41 +00:00
ws
ea80527b05 Add test code for synchronizing caches for signal trampoline code 1999-07-08 17:37:35 +00:00
thorpej
7089fc0a1d Add a few more tests. 1999-07-07 22:00:31 +00:00
sommerfeld
29c9d4318d Compensate for fix to PR7761; kernel now clips overly large length 1999-06-19 18:02:06 +00:00
thorpej
03826522e4 Add some pretty simple tests for various memory mapping facilities.
There's lots more work to do here, but this simple program found a
couple of problems which I've fixed recently.
1999-06-19 00:53:31 +00:00
drochner
71761c5d0c add "extent" 1999-06-02 15:57:18 +00:00
drochner
0b0421ba76 first cut on a testsuite for sys/kern/subr_extent.c 1999-05-11 19:14:50 +00:00
sommerfe
bb8c6c869a move __getcwd prototypes to libc-private header file.
XXX duplicate the prototype in getcwd regression test (which needs to
call the syscall directly for reasonably complete testing).
1999-03-26 22:23:57 +00:00
sommerfe
3c618b8f06 fail more gracefully if not root 1999-03-26 13:14:12 +00:00
sommerfe
9f81ab06ab Make this a more thorough test of file descriptor passing 1999-03-22 18:19:54 +00:00
sommerfe
bada23909e getcwd regression test. 1999-03-22 18:14:39 +00:00
bouyer
f9b8e2d406 Note that this is derived from PR 6706 submitted by Brian Grayson. 1999-03-10 19:44:26 +00:00
bouyer
728bb9aad7 FFS regression tests: tests newfs, kernel, fsck_ffs and dump/restore. 1999-03-10 18:58:08 +00:00
bouyer
da5ea8d9d1 Add fs. 1999-03-10 18:57:06 +00:00
bouyer
fe598d8469 Makefile for filesystem regression tests subdir. 1999-03-10 18:56:46 +00:00