joerg
12f813b23d
Link static test program with LDSTATIC to deal with PIE.
2016-06-18 12:12:09 +00:00
pgoyette
aec3683782
When deadbeef is treated as a 32-bit signed integer, it actually has a
...
negative value. So, if the value gets written into a sysctl variable,
and then is read back, the twos-complement value is displayed.
So, when checking for the value having been written, make sure we check
for the correct value!
2016-06-17 03:55:35 +00:00
sevan
17a9d10433
Add a unit test for PR bin/51250 called se_output. se_output checks the output of cat
...
when invoked with '-se', to ensure that a '$' is printed on blank lines.
2016-06-16 01:04:58 +00:00
agc
83432fa6b8
remove some unused test cases
2016-06-01 14:52:56 +00:00
agc
6d27eeee35
Use human2atf to generate a t_netpgpverify.sh script which is half the
...
size of the previous one (using on-the-fly gzip compression), and includes
more cases (including a gpg-signed file for cross-testing purposes).
Add the appropriate Testspec file.
2016-06-01 06:39:11 +00:00
pgoyette
9458f2be2e
Fix testing of returned entptr, and fix three affected tests.
...
From kamil@ via PR lib/49632
2016-06-01 01:12:02 +00:00
christos
5cca8a9eaf
Fix mprotect for the helper.
2016-05-28 14:38:29 +00:00
christos
ec3db6b7b6
Skip the mprotect_exec test if PaX MPROTECT restrictions are enabled.
2016-05-28 14:34:49 +00:00
hannken
6fc7edbd65
Disable PAX mprotect to make just-in-time-compile tests work again.
...
Ok: Christos Zoulas
2016-05-24 10:16:34 +00:00
riastradh
8338092962
Test for PR kern/51135 is no longer failing.
2016-05-22 04:34:44 +00:00
ozaki-r
7fa1e6be86
Adjust the tests for temp option that works now
...
See PR kern/50127
2016-05-20 06:48:52 +00:00
kre
c80063823d
Use valid (standard) shell syntax, in anticipation of /bin/sh enforcing
...
it sometime soon (perhaps.)
2016-05-17 09:05:14 +00:00
kre
b752c81378
Add a new test case to validate N>&N redirect disables close-on-exec.
...
OK christos@
2016-05-15 15:44:43 +00:00
kre
cd13213fdd
Add another test for the 48875 fix fallout...
2016-05-14 00:33:02 +00:00
pooka
0a4930ca68
mark read_random xfail kern/51135
2016-05-13 13:22:28 +00:00
kre
e588572b24
Grunge. I know I fixed this typo before... must have been in a different
...
couy of the test.
2016-05-12 14:25:11 +00:00
kre
2f35ca415e
Verify that questionable characters don't have bad associates.
...
ok christos@
2016-05-12 13:34:23 +00:00
pooka
2d2ae8f1cf
Test that reading /dev/random returns within a reasonable time.
2016-05-12 11:41:43 +00:00
kre
5ab36d6022
Add a test for fd redirections on functions in loops (the etcupdate issue)
...
and also fix a quoting bug which was causing a test to fail, though
ATF was ignoring (an ATF bug to be investigated later.)
OK christos@
2016-05-11 17:43:17 +00:00
kre
07e424459c
PR bin/48875 PR bin/51123 This adds tests more that verify fide descriptor
...
redirection works correctly (including that the bugs reported in those PRs
are fixed.) Note that the tests for 48875 are slow, so one of the new
test cases ends up running > 25 seconds (just doing sleeps) - each individual
test is just a few seconds, but there are several of them.
OK christos@
2016-05-09 22:34:37 +00:00
kre
44b3998960
Remove the trap_zero__explicit_return test case - it was testing undefined
...
behaviour (and failed with the NetBSD shell, and was marked as expected to
fail.) Other shells do different things. The test was worthless, and is
now gone.
OK christos@
2016-05-07 23:51:30 +00:00
jakllsch
2d9fbba46c
Use rump_schedule() before calling things in the rump context.
...
Hopefully fixes these tests on all ports.
2016-05-05 17:40:26 +00:00
jakllsch
5c7aaf765b
t_hid doesn't use rump correctly, and thus consistently fails; mark as such
2016-05-05 16:55:56 +00:00
kre
25d58d24b2
Make the 9 months ago test, when reverting from late November to the
...
end of Feburary just a little less bogus (stupid cut & paste error).
2016-05-05 02:12:21 +00:00
gson
85c4af6b99
Reduce the step size, exposing another bug.
2016-05-04 18:36:46 +00:00
dholland
a0feec40ce
Cite a relevant PR for msdos_renamerace instead of one that was fixed
...
several years ago.
2016-05-04 08:30:22 +00:00
kre
e4edd6e6c4
PR bin/50574 - make the tests conform to what parsedate() actually
...
does, so they should no longer fail. This needs parsedate.y 1.28
in order to work properly.
OK christos@
2016-05-03 18:18:15 +00:00
kre
97c9ae31d2
Whitespace. No changes. OK christos@
2016-05-03 18:10:38 +00:00
jakllsch
ffe5c1f16e
Call rump_init() before using rump functionality.
...
This change should make these test cases consistently fail on all ports.
Related to PR kern/51096.
2016-05-02 17:24:06 +00:00
christos
28ac500a6d
More redirect tests, in particular, tests for redirects to/from
...
file descriptors outside the 0..9 range, and complex fd
reassignments. Also test that the shell can cope with the
value of ulimit -n changing (downwards, up is harmless)
(Freom kre@)
2016-05-02 01:47:14 +00:00
gson
73fec7e59e
In the "relative" test case, run the tests multiple times relative to
...
various dates over a span of a few decades, instead of just once
relative to the current date. This makes the test fail consistently
instead of sometimes failing and sometimes not depending on when
it is run. Makes PR lib/50574 consistently reproducible.
2016-05-01 16:39:47 +00:00
christos
c6dfc962be
use "" so ${TEST_SH} is expanded.
2016-04-29 18:29:17 +00:00
ryoon
09a886100c
Tab alignment
2016-04-29 07:12:34 +00:00
ozaki-r
743ec2bd92
Don't depend on the order of interfaces
...
Instead add tests of querying varying number of interfaces
and tests of checking if removing interfaces is reflected.
2016-04-28 01:57:45 +00:00
ozaki-r
b7e089f63a
Don't depend on the order of interfaces
...
The kernel guarantees nothing about it.
2016-04-28 01:20:31 +00:00
christos
5befeffc11
- Adjust to the correct wait6 semantics (returns pid)
...
- Avoid race in setrlimit(2)
2016-04-27 21:14:24 +00:00
ozaki-r
8bb2f299cd
Return 0 for $DEBUG=false case
2016-04-23 15:47:54 +00:00
ozaki-r
4b837129f9
Add more tests of RTF_REJECT
2016-04-23 08:54:20 +00:00
ozaki-r
0ba9b3455b
Add more tests of RTF_REJECT
2016-04-22 06:24:10 +00:00
ozaki-r
e53ad40782
Fix tests for blackhole routes
...
The gateway of a blackhole route must be a loopback interface.
2016-04-21 09:46:49 +00:00
ozaki-r
2223b893c1
Add tests of route flags using IPv6 addresses
2016-04-21 05:10:15 +00:00
ozaki-r
095fdb0468
Add a test case for static ARP
...
It tests receiving an ARP request that has a spa (i.e., IP address) whose
ARP entry already exists in the table as a static ARP entry.
2016-04-18 02:27:34 +00:00
ozaki-r
c73a69e593
Add a new test case for PPPoE using PAP
...
From s-yamaguchi@IIJ (with some tweaks by me)
2016-04-15 01:38:16 +00:00
riastradh
4f7dd3337d
Introduce pserialize-safe linked lists.
...
These are like LIST_* from queue(3), but issue the appropriate memory
barriers for pserialize readers and writers.
Discussed on tech-kern:
https://mail-index.netbsd.org/tech-kern/2016/04/03/msg020365.html
2016-04-09 04:39:46 +00:00
riastradh
2233768047
Make this list diff- and sort-friendlier.
...
No functional change.
2016-04-08 21:53:10 +00:00
gson
5973801c0c
Add regression tests for some past gdb bugs.
2016-04-08 10:09:16 +00:00
christos
e533605fa6
Use WIFCONTINUED.
2016-04-06 03:52:27 +00:00
christos
bd76bbe652
Fix ATF_REQUIRE(false)
2016-04-06 00:52:45 +00:00
christos
8283334aac
Add wait6(2) tests.
2016-04-06 00:45:53 +00:00
christos
a34d3aeabd
Add test for PR/49872
2016-04-05 00:48:53 +00:00