Commit Graph

2513 Commits

Author SHA1 Message Date
christos
487f18f8df remove binary test and other cleanups (from kre) 2016-03-16 17:39:12 +00:00
christos
96320c1795 New tests from kre 2016-03-16 15:49:19 +00:00
mrg
3890e54546 rework to avoid new GCC 5.3 errors and improve readability 2016-03-16 07:21:36 +00:00
christos
239c335529 Add some redir-close-on-exec tests 2016-03-13 18:55:12 +00:00
ozaki-r
3a482ca275 Fix test 2016-03-13 17:26:05 +00:00
ozaki-r
c3509e5280 Add more debugging code 2016-03-13 05:46:20 +00:00
christos
796504694c Implement TEST_SH for this test, add a test or two, and also some
commentary to explain some of the weirdness of shell quoting. (from kre@)
2016-03-12 14:58:03 +00:00
martin
820268b0ef Fix masking for the fpsetmask_basic test, pointed out by Timo Buhrmester 2016-03-12 11:55:14 +00:00
joerg
b17f910c4a When no gcc but clang can be found, fallback to the latter instead of
failing the tests.
2016-03-12 08:55:54 +00:00
ozaki-r
3a591e0ce2 Add debugging code and enable it by default
to know what is happening on anita (qemu)
2016-03-12 06:15:31 +00:00
christos
acfb0ca6d6 Set TEST_SH 2016-03-10 22:30:57 +00:00
christos
2c3c3b3c5b Added more test cases, more exhaustive testing. (from kre) 2016-03-08 14:26:54 +00:00
christos
c5b16bb470 remove old test 2016-03-08 14:26:34 +00:00
christos
e4619cdffb Tests for the shift builtin (from kre) 2016-03-08 14:26:26 +00:00
christos
491442e6cd This test tests nothing not tested elsewhere, and doesn't
do a very good job of that. Bang! (from kre)
2016-03-08 14:24:50 +00:00
christos
c74a97456e Complete implementation of TEST_SH, use builting kill (which does
work, now anyway) rather than working around a defect by using
/bin/kill (if the shell is broken, the test should fail, not succeed)
and test more aspects of the wait builtin in the kill test. (from kre)
2016-03-08 14:24:06 +00:00
christos
764b20ba6a Cleanup left over (dead) debugging code (from kre) 2016-03-08 14:21:02 +00:00
christos
e408fa7e5e Correct one test that (while OK for NetBSD) insisted on behaviour
that is not required by the standard. The test now allows either
of the two allowed responses. Also add commentary correcting
erroneous comments about what is correct, and incorrect. (from kre)
2016-03-08 14:20:22 +00:00
christos
dd894f6fca Correct the way that TEST_SH is used so that the tests work as
intended when TEST_SH is specifies a shell that needs options (like
sh -F, or bash -o posix). (from kre)
2016-03-08 14:19:28 +00:00
joerg
1c9e147d7d libc fallback is known to not produce nice alias entries. Avoid spurious
failures when testing in an empty chroot by requiring the services db.
2016-03-08 08:34:17 +00:00
joerg
c632ff2be2 Require the boot block to be used, test can't work otherwise. 2016-03-08 08:04:48 +00:00
christos
ad2951bb03 make it work on linux, be pickier about errors, and correct variable type. 2016-03-04 18:52:01 +00:00
ozaki-r
8ce75dc03a Improve tests of proxy arp
The tests make it clear how it behaves though, I don't know if the current
behavior is what it should be.
2016-03-04 04:18:44 +00:00
ozaki-r
be7deda7eb Add tests for tap(4) 2016-03-04 02:44:45 +00:00
christos
06f9bef68e Improved handling of TEST_SH so that it is possible to define it
to the name of a shell, plus options that shell needs to run it
in the correct mode to be tested: eg: TEST_SH='bash -o posix'
Also finished the implementation of tests of "set -n" now that
the NetBSD shell supports that as it should. (from kre)
2016-03-01 12:39:35 +00:00
christos
1843eb8cb0 more tests from kre 2016-02-29 23:52:53 +00:00
ozaki-r
520486c340 Add tests on activating a new MAC address 2016-02-29 09:35:16 +00:00
ozaki-r
2640ddb67b Add tests deleting active/inactive links 2016-02-29 08:13:41 +00:00
joerg
dda31211fa When building the atomic op test on SPARC64 with Clang, skip the
sub-32bit tests for now. Clang currently doesn't synthesize a CAS
replacement nor does it create a libcall.
2016-02-27 18:50:39 +00:00
nat
449e51467a Fix soft volume audio distortion. OK jmcneil@.
Update atf pad expected output.
2016-02-26 13:08:28 +00:00
ozaki-r
f6036fa401 Add basic tests for Proxy ARP
The tests don't much enough and need more realitic tests, for example
tests for a setup using ppp found in PR 44032.
2016-02-25 03:23:15 +00:00
christos
22e9b677fe uncomment clean up 2016-02-24 14:42:50 +00:00
christos
b189a00530 Test improvements from kre 2016-02-24 14:42:06 +00:00
christos
c1ce7cf3ee Add t_option, from kre (with minor edits from me) 2016-02-23 16:20:42 +00:00
christos
dd10ee88d0 Add new redirection test, from kre 2016-02-23 14:21:37 +00:00
christos
7b91d0e80f PR/43469 has been fixed 2016-02-22 20:02:29 +00:00
christos
449b5d003c Add new test 2016-02-22 19:52:03 +00:00
christos
dd7e4e3700 undo accidental commit 2016-02-19 13:49:01 +00:00
christos
64d8e9d299 Add a test for PR/50827 2016-02-19 13:48:28 +00:00
christos
cfb3849454 This needs _KERNTYPES on some platforms. 2016-02-15 14:59:38 +00:00
ozaki-r
423847a240 Add tests for a gateway not on the local subnet
The tests are derived from the example at
http://www.netbsd.org/docs/network/#nonsubnetgateway ,
which has come up in PR 50717.
2016-01-29 04:15:46 +00:00
martin
c25f345cfe The test for PR 50608 works now, remove the expected failure. 2016-01-28 10:10:09 +00:00
pooka
11f923c4b5 include <stdbool.h> for bool 2016-01-25 12:21:42 +00:00
pooka
d35b86acad Don't include <rump/rumpvnode_if.h> from rump.h. It's not needed
unless you're doing something special, but requires register_t.
Adjust the few places which actually need rumpvnode_if.h.
2016-01-25 11:45:57 +00:00
gson
e9eb083c3b Add some tests of hypot() and hypotf() 2016-01-24 20:26:47 +00:00
christos
bdf1a7c5d1 t_lwp_create needs kernel types. 2016-01-24 15:11:08 +00:00
christos
ffeb8dbf4e Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
christos
55808dd15a XXX: use unused variables. 2016-01-23 21:18:27 +00:00
christos
abcb9cb972 bridge with the higher Makefile.inc 2016-01-23 18:54:15 +00:00
gson
79350377d6 Don't use a filename with an embedded newline in the create_many test
case.  Instead, add a separate test case "create_nonalphanum" for
filenames containing non-alphanumeric characters.  The bug of
PR kern/50608 now causes a failure in create_nonalphanum rather than
create_many.
2016-01-14 08:58:02 +00:00