Commit Graph

199744 Commits

Author SHA1 Message Date
blymn e42005f974 Add libcurses tests 2011-04-10 09:47:43 +00:00
blymn 4743999381 Add libcurses to tests. 2011-04-10 09:45:59 +00:00
jruoho e7c9c72e99 Verify that PR standards/21401 is no longer an issue. 2011-04-10 08:35:47 +00:00
plunky 8f6f899225 Building the Xorg binary was moved into a subdirectory to fix
ordering issues with "make all". It may be necessary to remove
	the OBJDIR for external/mit/xorg/server/xorg-server/hw/xfree86
	if your update build fails, as the "Xorg" entry there is now a
	directory.
2011-04-10 08:29:31 +00:00
jruoho 2fe16f2510 Fix comments. 2011-04-10 08:11:34 +00:00
jruoho 29ee83dbcf Add tests for PR standards/44847 and PR standards/18067. 2011-04-10 08:07:41 +00:00
jruoho 5aac453263 A naive test case for getcwd(3). 2011-04-10 06:27:20 +00:00
jruoho a63adaf81b Add a test case for PR lib/41931 reported by he@. It was verified that these
fail on NetBSD 5.99.48 amd64 but pass on amd64 Linux (glibc 2.7).
2011-04-10 06:11:47 +00:00
christos 6a8b690e91 print detailed info about other SI_ codes. 2011-04-10 00:05:51 +00:00
christos 871e737d11 Make lwpid part of siginfo so that it can be passed to userland. 2011-04-10 00:04:37 +00:00
christos 47f11362ae Preserve SB_ASYNC on the accepted socket. From: Dmitry Matveev
http://mail-index.netbsd.org/tech-net/2011/02/17/msg002457.html
2011-04-09 23:03:59 +00:00
christos 8dffb314e4 make this compile again. 2011-04-09 22:09:05 +00:00
wiz 75eeddb97e Fix a typo and a whitespace nit. 2011-04-09 21:53:58 +00:00
martin c655df0d1c PR kern/43664:
mlelstv pointed out that we sometimes may use checksums on loopback
interfaces. Make the test consistent with the code path selecting
the checksum operation before invoking fragmentation.
2011-04-09 21:00:53 +00:00
christos cd9ad85fe1 - little KNF
- use struct copy instead of memcpy
- snprintf("%s") -> strlcpy
- fix NUL termination
2011-04-09 20:53:39 +00:00
martin 3d772d583a Remove expected failure, PR has been fixed. 2011-04-09 20:42:12 +00:00
martin 8a8f4ef60a We do not do checksums on loopback interfaces, not even if fragmenting.
Fixes PR kern/43664.
2011-04-09 20:34:36 +00:00
phx 73e37f5358 Set D-Link DSM-G600 power LED to solid green on start. 2011-04-09 19:56:20 +00:00
jdc 9e7d55a0ad Add a manual page for ffb(4). 2011-04-09 19:37:13 +00:00
jdc 342707d5db Add EDID and video mode setting support to FFB.
Add definitions for registers related to video modes, and to DDC.  Rename
other registers to be more descriptive.
Add i2c bus routines to read the EDID data via DDC.
Add routines to calculate, and to set, the video mode.

Note, that interlaced and stereo video modes are not supported.

Thanks to Michael Lorenz and Jared McNeill for advice and encouragement,
and to Martin Husemann for testing.
2011-04-09 19:31:14 +00:00
jdc 1271f8ec3a Add a new function - sort_modes() - to sort video modes in an approximate
order of preference.

The preferred mode is placed first.  If there is no preferred mode, then
the first mode with highest resolution is placed first.  Other modes are
then sorted on difference from the first mode by refresh rate, aspect
ratio, then size.
2011-04-09 18:22:31 +00:00
jdc 25950f6e19 Remove duplicate video modes.
When parsing the established and the detailed timings, check to see if this
mode already exists in our mode list.  If the mode exists when parsing
established timings, then do nothing (we already have this exact mode).  If
the mode exists when parsing detailed timings, then replace our timings with
the timings from the monitor.
2011-04-09 18:18:28 +00:00
pgoyette 478d663ec3 These tests have (finally) been atf-ified 2011-04-09 17:55:51 +00:00
pgoyette 324074b933 atf-ify the various locale tests 2011-04-09 17:45:24 +00:00
jruoho a9e93d02ff Fix SYNOPSIS. 2011-04-09 17:25:28 +00:00
martin 4aa7a8f48e Add a few KASSERT to verify we do not accidently use minor(NODEV) as an
index into the pt_softc array.
2011-04-09 12:07:06 +00:00
martin 40b302ddec Add two simple testcases to exercise pty/tty communication. 2011-04-09 11:55:59 +00:00
martin 07a55fd03e KNF, add a comment and an assertion. 2011-04-09 07:02:57 +00:00
martin c5e67b6b14 No longer expected to crash the kernel. 2011-04-09 06:36:03 +00:00
martin 4dafc2b43a In ttymalloc() explicitly initialize t_dev to NODEV.
In ptcwakeup() do not bother to wake up a client side if it has not been
opened yet.
The old code would spuriously wakeup the client minor(0) [i.e. ttyp0
typically] or crash the kernel if that wasn't open, see PR kern/40688.
(Old names used to match the PR and test case, adjust names for
/dev/ptm[x] resp. /dev/pts/* accordingly)
2011-04-09 06:34:06 +00:00
joerg 406d512bfa Do not ignore errors from genprom. 2011-04-09 00:26:52 +00:00
sborrill 933ebb282e Revert previous couple of commits. bge_setvlan() is only called by
bge_init() and so does not get called when a vlan child is added. Calling
bge_setvlan() from bge_ifflags_cb() doesn't work either as it appears that
the callback is called before ec_capenable is updated by if_vlan.c.
2011-04-08 17:45:10 +00:00
martin 99f3e96716 Make all curses/$TERM related failures exit with error code 4 (everything
else in here only exits successfully or with error 1), so we can react
accordingly in the surrounding script. Part of fixing PR 44738.
2011-04-08 15:53:44 +00:00
sborrill fef6e6696d Fix typo in previous commit that would have stopped relevant bit being set. 2011-04-08 15:49:37 +00:00
jruoho c077304602 Use RLIMIT_NOFILE rather than the static _SC_OPEN_MAX. 2011-04-08 15:35:49 +00:00
jruoho 5ebf352487 Adjust the test with stdin(3). 2011-04-08 15:25:00 +00:00
dyoung 225e55bc85 There's no isa/ under cats/; update Makefile to reflect that. 2011-04-08 14:58:46 +00:00
nisimura 1a92bd3dae Minor format knots; sort a model list in alphabetical order and adjust
spacing.
2011-04-08 14:09:24 +00:00
sborrill bfaa893b9f PR kern/38871
Fix LAN on bge(4), alc(4). Flag VLAN capability in ec_capenable as used by network
card drivers.
2011-04-08 13:56:51 +00:00
yamt 18a0ef4a04 simplify code a little. no functional changes. 2011-04-08 11:15:11 +00:00
yamt 4f5ae08861 test timer_create with CLOCK_MONOTONIC as well 2011-04-08 11:11:53 +00:00
yamt 500e2272be - ensure that the promoted page is on the queue even when later pmap_enter
failed.
- don't activate a page twice.
- remove an argument which is used only for an assertion.
- assertions and comments.
2011-04-08 10:42:51 +00:00
yamt 09f62f3554 comment 2011-04-08 10:36:58 +00:00
jruoho 6f21bdca87 Adjust for the tracker PR kern/30115 for this over 15 year old bug. 2011-04-08 10:36:09 +00:00
yamt 22f6580cf6 implement timer_create of CLOCK_MONOTONIC 2011-04-08 10:35:37 +00:00
jruoho 237b9fd91d Use .In for headers. 2011-04-08 10:14:24 +00:00
wiz b471ea6774 Remove superfluous Pp. 2011-04-08 08:50:52 +00:00
wiz 3d72e50534 Sort SEE ALSO. 2011-04-08 08:49:19 +00:00
wiz 0c99d89e18 Sort sections. 2011-04-08 08:47:54 +00:00
wiz b0f3c6983e Sort SEE ALSO. 2011-04-08 08:47:50 +00:00