pooka
da8d545fb8
msdosfs depends on disk devices now
2010-01-25 19:27:24 +00:00
joerg
1ca41e3237
Add a regression test for the SHA2 family that also checks for unaligned
...
accesses.
2010-01-24 21:12:17 +00:00
pooka
b3a218f0ac
Must use CMSG_SPACE instead of CMSG_LEN for control message buffer.
...
Fixes test on sparc64 (and possible other alignment-picky ports).
from mlelstv
2009-12-18 21:24:13 +00:00
mrg
fa38305b2e
avoid most of the SUBDIRs if MKATF == "no".
2009-12-15 03:01:48 +00:00
uebayasi
75fe826dc9
CPPFLAGS.* is per *.c, not per ${PROG} or ${LIB}.
2009-12-08 15:20:20 +00:00
he
dcac85a1b9
It seems that LDADD.file gets added to the linker invocation after
...
the LDADD variable expansion. To support static linking, ensure
that the common libraries gets tacked on at the end as well (order
matters for static linking), by using a convenience variable and
add it to the end of LDADD.t_modlinkset, as well as when doing the
general LDADD+= setting.
2009-11-28 22:20:38 +00:00
pooka
62b34668ef
Since rumpfs has supported file system sockets for quite a while
...
now, we don't need tmpfs here. But, rumpfs doesn't support regular
files, so pass a pipe descriptor instead of an open file fd.
2009-11-26 17:33:23 +00:00
pooka
9311e97e8c
Don't use LDADD.progname because it duplicates all the libs.
2009-11-25 16:17:11 +00:00
pooka
aebec17a03
WARNS=4
2009-11-06 15:26:54 +00:00
pooka
5ffd8be0f2
rump_module -> rump_pub_module
2009-11-06 15:25:52 +00:00
dyoung
2e43373a96
Fix MKKMOD=no builds: in sets.subr, if $MKKMOD == no, leave the
...
modules set out of the list of NetBSD set lists, nlists. If
$MKKMOD == no, do not install modules tests.
2009-11-05 17:34:25 +00:00
plunky
b2965573f9
add ATF tests for libevent
2009-11-02 10:15:45 +00:00
jmmv
9eb1b1099f
Migrate three sh test cases from regress to tests.
2009-10-20 21:58:35 +00:00
pooka
9b92a8f383
comment adjustment. hardly any functional change involved.
2009-10-15 16:50:00 +00:00
pooka
05c281e378
fix test for new-world rump lwp usage
2009-10-15 16:47:23 +00:00
pooka
bf3992af18
Adjust names of external rump control interfaces to match the
...
new rump_pub namespace.
2009-10-14 18:22:50 +00:00
jmmv
ddfcde04ad
Add test cases for "prefix $@ suffix" expansion. From PR bin/33956.
...
This issue was fixed a while ago but the tests described in the report
were never written as proper test cases.
2009-10-14 13:02:03 +00:00
pooka
7d89931c36
Add regression test to verify that linksets work correctly with rump.
2009-09-24 21:36:42 +00:00
pooka
b4d274c027
add regression tests for dlinfo()
2009-09-24 21:33:45 +00:00
apb
7f9c54c774
Correct list of d_merge* files.
2009-09-19 21:49:50 +00:00
apb
3ce38cde2b
Adjust tests to no longer expect a trailing space in each line
...
of output from "mtree -C".
2009-09-19 21:42:26 +00:00
apb
2eaeff02ed
Add tests for the "mtree -M" issue reported in PR 42031 from Geoff Wing.
2009-09-19 20:37:05 +00:00
pooka
36c33536d3
Set timeout to 20 because for some reason this test hangs in qemu.
...
(Well, it *still* hangs even after the timeout has passed, but at
least there's multiple problems to debug now)
2009-09-17 13:12:51 +00:00
skrll
52749c1bca
Rely on the new and "just as awful as the old" hack in the battle of rump
...
vs link sets.
2009-09-14 17:24:20 +00:00
pooka
1b05a6d80a
Add test case for PR kern/42020:
...
t_rnd (1/1): 1 test cases
RNDADDDATA: Failed: Test case did not exit cleanly: Abort trap (core dumped)
Failed test cases:
t_rnd:RNDADDDATA
2009-09-08 20:37:45 +00:00
skrll
7842ef85bb
No-one wins in rump vs link sets.
...
XXX Someone(tm) needs to fix this properly.
2009-08-21 14:41:22 +00:00
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