pooka
f0190dc27d
rump_fakeblk -> rump_etfs
2009-08-03 14:25:24 +00:00
drochner
55f6a48c74
flag a 64-bit integer constant as "ULL" -- this is not clean but the
...
code around it assumes it anyway
fixes build on 32-bit
2009-07-21 21:45:33 +00:00
joerg
974b291a6c
Add popcount(3) and the long and long long version. Name is inspired by
...
gnulib, the implementation goes back to the AMD Software Optimizer
guide. A number of platforms will want to replace the C version with
assembler code using native instructions.
2009-07-21 13:18:43 +00:00
christos
81908d00ad
fix for new openssl
2009-07-20 20:41:52 +00:00
joerg
7afbfeabf4
Use __RCSID.
2009-07-20 18:24:01 +00:00
joerg
d6e219476b
Add a fast, platform independent hash function to libc.
...
The algorithm used is the Jenkins hash. The name (mi_vector_hash)
reflects the nature of the hash function.
Add glue for libc ATF tests and include a test case to make sure that
(mis)alignment and endianess are handled correctly.
Bump libc minor to 169.
2009-07-20 17:03:36 +00:00
he
bcb5a47bca
Apparently, there's not a clear dependency ordering for the libraries,
...
this becomes apparent when linking statically (e.g. as for sun2).
Add an extra instance of -lrump to the library list so that it can be
linked statically as well.
2009-06-09 11:18:50 +00:00
pooka
1decab3813
Fix calls to rump syscalls now that the padding argument is no
...
longer advertised.
2009-05-15 15:54:03 +00:00
pooka
a9b3c18ec6
lseek fd to start before sending, creates a clearer test case.
2009-05-08 13:03:46 +00:00
pooka
fd3f839e56
Make the file descriptor passing test case a little more interesting:
...
instead of passing a file descriptor within a single process, create
two virtual processes in rump and pass the fd between them.
2009-05-07 16:19:30 +00:00
pooka
d56d1f4273
Rename variable to reflect current use. no functional change.
2009-05-07 14:45:19 +00:00
pooka
f9733ae8d4
Use make syntax where LDADD applies only to a certain target
...
(not that there currently is more than one, but ...)
2009-05-04 01:26:49 +00:00
pooka
a6059f9100
g/c unused variables
2009-05-04 00:14:59 +00:00
pooka
0a3318e028
In addition to testing the fd passing doesn't crash the kernel,
...
also check that it actually works.
2009-05-03 23:19:59 +00:00
pooka
d5ac376c40
Mount test fs onto /mp instead of /. This way it can be unmounted
...
and we can detect vnode reference leaks.
2009-05-03 12:10:00 +00:00
pooka
863335f97b
don't hardcode /usr/lib path
2009-05-02 16:18:13 +00:00
pooka
80be26da9a
add regression test for module init/fini in rump
2009-05-02 16:02:18 +00:00
pooka
45ef580f17
Merge librumpfs_ufs into librumpfs_ffs. This reflects what happened
...
with the ffs kernel module and follows the trend of retiring ufs.
It also allows to get rid of a special case kludge in runtime module
loading, since ufs was not really a module. librumpfs_ufs is now
obsoleted and ffs consumers should be linked solely against
librumpfs_ffs.
2009-05-02 01:15:52 +00:00
pooka
296ba25baa
* register fakeblk
...
* fix error message
2009-04-29 15:46:01 +00:00
pooka
067a8b527b
Use rump_sys_mount() instead of ukfs_mount(). Just a few more
...
steps and we can have a switch for if we want to run tests against
a rump kernel or a real kernel.
2009-04-26 15:15:38 +00:00
pooka
95ab63fa91
WARNS=4
2009-04-14 10:20:22 +00:00
pooka
3df59b06ac
Add atf_tc_fail_errno(), which appends strerror(errno) to the
...
message string. Adding it to h_macros suggested by jmmv
2009-04-14 10:19:38 +00:00
apb
7291fc32b2
Add tests for "mtree -C -S" and "mtree -D -S"; convert previous tests
...
for "mtree -C" and "mtree -D" to expect the output to be in the same
order as the input.
2009-04-08 19:06:30 +00:00
pooka
1b5f62901e
Hmm, this case was for MNT_LOG so enable it. No wonder I couldn't
...
repeat the problem with the patch reverted. regression test
regression.
2009-04-08 12:29:05 +00:00
pooka
565dd9ed11
descend into ffs
2009-04-08 12:09:04 +00:00
pooka
a56fe8c09f
regression test for kern/40948
2009-04-08 12:08:17 +00:00
pooka
f698904d75
* convert to KNF
...
* pass WARNS
2009-04-08 09:11:34 +00:00
pooka
d08d606875
atf_tc_fail() instead of err()
2009-04-08 09:05:16 +00:00
pooka
f7bf33df40
make test duration bound by time instead of by number of rounds
2009-04-08 08:57:24 +00:00
pooka
163d880b1a
add regression test for kern/41128
2009-04-07 20:51:46 +00:00
apb
854eeab1fc
Add tests for "mtree -C" and "mtree -D". Add "link" keyword to
...
previous mtree tests.
2009-04-07 19:28:40 +00:00
apb
fc28b4ff36
Add tests for mtree.
2009-04-07 13:52:07 +00:00
jmmv
d142d343c8
ipf does not live here; it is in the parent directory. Spotted by njoly@.
2009-02-27 07:32:33 +00:00
jmmv
b9daf172a0
Add the ipf tests developed by Lukasz Strzygowski as part of the atfify
...
GSoC 2008 project. These were originally inside the kernel subdirectory
but I think they belong in their own top-level directory because ipf
consists of more components than just the kernel-level packet filter.
2009-02-20 21:42:59 +00:00
jmmv
1861ed5ed9
Add helper macros for tests.
2009-02-20 21:40:55 +00:00
jmmv
99635d94f8
Add the kernel-level tests developed by Lukasz Strzygowski as part of the
...
atfify GSoC 2008 project.
2009-02-20 21:39:57 +00:00
cube
fb825dde7b
Use the correct dir to find source files. NetBSD finally builds again.
...
Please have the decency to at least do a test build when you import such a
huge amount of code.
2009-02-14 05:07:54 +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
0601c2c71b
Remove threads from the list of subdirs. Commited by mistake.
2009-02-13 21:33:27 +00:00
jmmv
fd2c7cbdc1
Convert libcrypto tests to ATF. Original work done by Lukasz Strzygowski
...
in the GSoC 2008 atfify project. Reorganization of files and build system
reworked by me.
2009-02-13 20:58:13 +00:00
jmmv
fbaeb3b2ac
Add the util tests developed as part of the atfify GSoC 2008 project.
...
Initial done work by Lukasz Strzygowsky and reorganization of files done
by me.
2009-02-13 05:19:51 +00:00
pooka
1838cc2a07
Add a regression test for the descriptor passing panic.
2009-02-10 13:43:54 +00:00
jmmv
454557d79e
Adjust tests to work with the new API in ATF 0.6.
2009-01-19 07:15:46 +00:00
jmmv
0cdcf7cea6
Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to
...
build it. 0.6 is going to be imported in external/bsd/atf, with all the
necessary Makefiles in that same hierarchy.
2009-01-19 07:08:14 +00:00
jmmv
6725d3eeec
Kernel modules (kmod files) are now installed in a subdirectory per module.
...
Make these tests aware of this so that they work again.
2009-01-04 17:56:57 +00:00
pooka
8c10597be5
Don't descend into modules on evbppc.. sigh
2008-12-08 12:39:04 +00:00
ad
0efea177e3
Remove LKMs and switch to the module framework, pass 1.
...
Proposed on tech-kern@.
2008-11-12 12:35:50 +00:00
gmcgarry
f8eb853c86
Don't descend into atf with (${MKATF} == no)
2008-08-16 23:51:51 +00:00
dyoung
eeabda7de2
Fix two bugs to make MKMODULAR=yes builds will work again, for the
...
first time.
share/mk/bsd.kmodule.mk: only set _INST_DIRS if KMODULEDIR is not
set. That we we avoid installing some bogus directories in
the DESTDIR and in $DESTDIR/METALOG.
tests/modules/k_helper/Makefile: add missing .include <bsd.own.mk>,
and set the KMODULEDIR that the author seems to have intended.
2008-05-31 19:58:35 +00:00
dholland
c9db1d914b
Add missing cases for the ! operator. Also add eval-variants of a couple
...
others, that had been missing, and correct a typo'd expected result.
2008-05-26 22:06:10 +00:00