Commit Graph

192595 Commits

Author SHA1 Message Date
pooka
7d8af8c741 Need to use the ${PRINTOBJDIR} trick for LIBISPRIVATE ... 2010-07-19 16:32:01 +00:00
pooka
cca4b54ef7 Include h_fsmacros instead of ffs.c and link in test lib. 2010-07-19 16:22:05 +00:00
pooka
1901d7bfe1 * namespace some macros under FSTEST
* inline atf_check_tc() since this is a header
2010-07-19 16:21:22 +00:00
pooka
370c9ab597 Convert the file system test common routines into a library to
facilitate more complex user-side stuff (like the lfs cleaner and
nfs rpc code), which are non-trivial to do by #include.
2010-07-19 16:09:07 +00:00
pooka
95cbf37326 add missing headers 2010-07-19 16:00:45 +00:00
jakllsch
5cb04966f6 Omit U+00AE "REGISTERED SIGN" in a product name due to its non-ASCII nature.
wm_release_hw_control() in wm_detach() before we unmap the registers we need.
Unmap I/O space during detach.
2010-07-19 15:46:37 +00:00
pooka
6138a7dfff Regen syscalls to get compat header included. 2010-07-19 15:38:55 +00:00
pooka
6ca15e9cbd regen from ages ago (to get rcsid consistent) 2010-07-19 15:38:28 +00:00
pooka
868e8536ec Add some forward declarations used by the interfaces. 2010-07-19 15:38:03 +00:00
pooka
55cb844525 convert to newstyle automagic rump compat syscalls 2010-07-19 15:35:38 +00:00
pooka
83ab3e68e5 * move stat syscalls to newstyle compat
* implement compat for pollts
2010-07-19 15:33:16 +00:00
pooka
53ef25afeb regen: stat compat syscalls moved 2010-07-19 15:30:43 +00:00
pooka
7949f6c1c8 Don't provide stat compat syscalls here, they come from
rump_syscalls_compat.h now.  (besides, I always hated how they were
in the rump_pub_sys namespace instead of the rump_sys namespace)
2010-07-19 15:29:44 +00:00
pooka
abfc763eb1 add rump_syscalls_compat.h 2010-07-19 15:28:18 +00:00
pooka
7f9f73897e Include <rump/rump_syscalls_compat.h> from rump_syscalls.h. This
file will contain compat defs which are not autogenerated.
2010-07-19 15:25:47 +00:00
tsutsui
a367c4f857 - in max1233_readpos(), add some DELAY() after starting A/D so that
output values of touchscreen position are more stable on my WS003SH
- also tidy up read and calc ops in max1233_readpos()
- turn DAC on in max1233_init() as well as max1233_resume()
2010-07-19 15:20:21 +00:00
njoly
0d023b0316 Add libxcb-*.debug files. 2010-07-19 14:30:51 +00:00
njoly
6e961b3ed8 Missing .debug suffix. 2010-07-19 14:29:38 +00:00
rmind
2f196e2fd9 Abstract IP reassembly into single generic routine - ip_reass_packet().
Make struct ipq private and struct ipqent not visible to userland.
Push ip_len adjustment into reassembly layer.

OK matt@
2010-07-19 14:09:44 +00:00
jmmv
28cce38f11 Split the before_start test in two: one that does not use threads and one
that does.  The former works all the time but the latter gets consistently
stuck on amd64.  Mark the latter as an expected timeout (should be a "race
condition" test, but atf does not have such a thing yet[1]).

This clears the test failures, at least, under anita running NetBSD/i386.

From pooka@: this could well be because calling sem_post(3) from a signal
handler can't possibly do the right thing with the pthread implementation.
However, according to signal(7), sem_post(3) is signal-async safe...

While here, program alarms using a timeout shorter than 1 second to speed
up the execution of the tests.

1: Good thing is I finally understand what a "race condition" test looks
like, I believe.
2010-07-19 10:31:46 +00:00
hannken
f457e09499 Lock the ntnode and recheck the fnode after calling getnewvnode().
Take v_interlock while the ntnode is locked.
2010-07-19 08:17:44 +00:00
mrg
406bca5fd6 updates for Mesa 7.8.2:
- build glsl as a host tool
- add the glsl objects to libmesa
- add/remove new/deleted sources for various components
- adjust the libmesa/libGL builds to pull in the new glsl objects
- re-apply the BUILDSYMLINK hack for eval.c/pixel.c/pixelstore.c
- use glsl to build the slang headers on the fly
2010-07-19 05:34:24 +00:00
mrg
6d0d419c9f delete obsolete / never used file. 2010-07-19 05:01:07 +00:00
joerg
0597463e89 Don't quite +', -' and `/' in set -x output. 2010-07-19 01:15:17 +00:00
christos
515e411d3f XXX: If this is not correct, revert or fix.
This makes my laptop boot instead of panic:

panic: kernel diagnostic assertion "native_idle != NULL" failed: file "../../../../arch/x86/acpi/acpi_cpu_md.c", line 155
fatal breakpoint trap in supervisor mode
type 1 code 0 rip ffffffff8022e4ad cs 8 rflags 246 cr2  0 cpl 0 rsp ffff80004c37db10

trace
breakpoint() at netbsd:breakpoint+0x5
panic() at netbsd:panic+0x2ba
kern_assert() at netbsd:kern_assert+0x2d
acpicpu_md_idle_stop() at netbsd:acpicpu_md_idle_stop+0x62
acpicpu_cstate_callback() at netbsd:acpicpu_cstate_callback+0x34
sysmon_task_queue_thread() at netbsd:sysmon_task_queue_thread+0x41

1. ACPI seems to define cpuids 1..n; we define 0..n-1. Adjust for that
2. My laptop is dual core, but ACPI reports 4 cpu nodes. Instead of
   attaching the unmatched ones, make the match fail. Do we want to
   attach and do nothing instead?
3. Create a flag, and only set it after we are completely initialized,
   so the sysmon thread does not try to access unitialized state.
2010-07-19 00:59:32 +00:00
jmmv
e1c433700e Refactor this test program: make test cases more granular, use atf_check
to validate the execution of sort(1) and do not bother removing temporary
files.

This is in preparation to merge the tests for sort(1) that still live in
regress/usr.bin/sort/stests.
2010-07-18 22:58:14 +00:00
pooka
510b2ec795 Reduce sleep time for practically the same effect. Until atf can
do parallel test execution, tests which spend 99.9999% of their
execution sleeping are not nice.
2010-07-18 22:30:55 +00:00
jruoho
097ffbd0d4 Fix build failure in i386/ALL. Again caused by a missing _COMPONENT
declaration required for ACPI_DEBUG. Noted by cegger@ -- thanks.
2010-07-18 20:20:04 +00:00
jruoho
441a667547 The first bug: do not error out if the latency values supplied in _CST are
larger than the upper limit constants. Only sanity check against these
defaults when operating with FADT. This is also noted in a fine print of the
specification (ACPI 4.0, p. 314): "[...] The worst-case latency to enter and
exit the C State (in microseconds). There are no latency restrictions."
2010-07-18 13:09:04 +00:00
jmmv
b85cea17a2 Remove the libobjc tests; they have been converted to atf and now live in
tests/lib/libobjc/.
2010-07-18 12:44:38 +00:00
pooka
5397c7b6af Ignore errors when copyin/out len == 0. 2010-07-18 12:44:31 +00:00
jmmv
3b36d603a4 Note conversion of libobjc tests to atf. 2010-07-18 12:44:09 +00:00
jmmv
a4d9cc8b41 Add tests for libobjc. 2010-07-18 12:43:44 +00:00
pooka
1d14124dd5 fix routine name in error message 2010-07-18 12:43:22 +00:00
jmmv
b4f7babb0e Add dirs for libobjc tests. 2010-07-18 12:43:17 +00:00
jmmv
cb5d4b0864 Convert the libobjc tests to atf. While doing this, make the tests actually
check that things work.
2010-07-18 12:41:51 +00:00
jmmv
2f0d388071 Remove the ATF_CHECK calls I added during the conversion of this test to
atf.  They break on i386 (because the test was conceptually broken anyway);
reported by pooka@ in private mail.

Now... the current test does not actually check anything AFAICT... but this
is how it was before.
2010-07-18 12:16:19 +00:00
mrg
d06d4b6ec0 ... and HAVE_STRNLEN 2010-07-18 11:28:22 +00:00
mrg
9998611309 xlsclients wants xcb-atom as well. 2010-07-18 11:21:43 +00:00
mrg
88f40394c5 oops, install all the xcb-util headers. 2010-07-18 10:58:06 +00:00
mrg
1ddab15061 xlsatoms 1.1.0 wants to link against libxcb, not all the other libs. 2010-07-18 10:42:24 +00:00
jruoho
ae630da088 Add ACPI CPU. 2010-07-18 10:19:09 +00:00
jmmv
d5e0f5a09f Note conversion of lint1 tests to atf. 2010-07-18 10:12:58 +00:00
jmmv
008e3995ba Remove lint1 tests; they have been converted to atf and now live in
tests/util/xlint/lint1.
2010-07-18 10:12:33 +00:00
jmmv
2665ef8b8b Add entries for lint1 tests. 2010-07-18 10:11:59 +00:00
jmmv
5496453d33 Add directories for lint1 tests. 2010-07-18 10:11:31 +00:00
jmmv
7ce6f390a2 Convert the lint1 tests to atf.
Initial work from the GSoC 2008 project by Lukasz Strzygowski.
2010-07-18 10:11:00 +00:00
jmmv
c205fc13c9 Uh, it's not 2001 any more. Fix dates of my previous entries. 2010-07-18 10:04:03 +00:00
mrg
448655fa99 add a couple of missing source files. 2010-07-18 09:49:12 +00:00
jruoho
9fcb11c8f6 Add missing CVS identifiers. 2010-07-18 09:39:45 +00:00