Commit Graph

2080 Commits

Author SHA1 Message Date
pooka 48fac693b7 Update hardcoded fd expectations now that rump kernels open 0/1/2.
(since we exec, it's convenient to just assume the values of first 4 fds)
2014-08-13 00:03:00 +00:00
gson 9f88f3f33c Mark udf_lookup_complex as an expected failure, referencing PR kern/49033.
Since it does not fail reliably, force it to fail to avoid spurious failure
reports due to unexpected success.
2014-08-12 12:13:09 +00:00
tls ea6af427bd Merge tls-earlyentropy branch into HEAD. 2014-08-10 16:44:32 +00:00
martin e204327425 Do not set HAVE_FENV for arm as long as it misses feenableexcept(). 2014-08-10 12:01:57 +00:00
martin 41f262a02f Use the same condition for HAVE_FENV 2014-08-10 11:30:51 +00:00
matt 547b3a3b01 Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
matt beb9c6d1b5 Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
gson 643acb6d0e Test that reading a CTLTYPE_INT sysctl variable into a buffer that is
too small returns ENOMEM, and that reading it into a buffer that is
large enough returns the expected sizeof(int) bytes of data.
2014-08-09 07:04:03 +00:00
gson b6f40f55e0 Mark the udf_renamerace test case (but not udf_renamerace_dirs) as an
expected failure again, now with a reference to PR kern/49046.
Since the test only fails part of the time, force failure to
avoid failure reports reports due to unexpected success.
2014-07-29 09:15:48 +00:00
apb 91bc8fa990 Run scripts at build time via ${HOST_SH} 2014-07-27 14:24:17 +00:00
pgoyette fa995b7822 Remove atf_tc_expect_fail() calls for udf file-system. These tests are
currently passing.  As discussed on current-users.  Any new failures
should be reported via send-pr.
2014-07-25 13:44:59 +00:00
martin dbd2e87e49 PR kern/49033: try to provide better diagnostics if the udf_lookup_complex
test randomly fails.
2014-07-25 12:16:22 +00:00
christos 6030f04a15 amend the new destroy function to take function pointers. 2014-07-20 20:17:21 +00:00
christos 0579ed8b30 Add new minherit test. 2014-07-18 12:34:52 +00:00
martin 349f6dd23e Darren fixed n8 and n9 recently 2014-07-15 20:00:23 +00:00
martin 6877679165 NetBSD has an entry for protocol #255 in /etc/protocols labeled "reserved"
so expect that in the parsing output instead of 255.
2014-07-15 19:51:36 +00:00
gson 858def4e9a space after comma 2014-07-15 14:56:34 +00:00
alnsn 5977f956e5 Add a link to ../../net/bpfjit/t_extmem.c. 2014-07-14 19:11:15 +00:00
alnsn 2b2f4a0ebe Add bpfjit_cop_copx and bpfjit_copx_cop tests. 2014-07-13 21:35:33 +00:00
darrenr cccb715a0e Test n17_6 does not yet exist so remove unrequired files and test case 2014-07-12 14:37:12 +00:00
alnsn 674ca560ce Fix copy/paste error: s/rump_unschedule/rump_schedule/. 2014-07-09 15:56:12 +00:00
alnsn 467461f7c4 Add t_cop and t_extmem kernel bpfjit tests to the build. 2014-07-09 13:50:48 +00:00
alnsn f80c8c7700 Add t_cop and t_extmem kernel bpfjit tests. 2014-07-09 13:49:49 +00:00
alnsn 0240ba3c8b Add t_mbuf tests to the build. 2014-07-08 21:47:21 +00:00
alnsn f2b7757e98 Move bpfjit mbuf tests to t_mbuf.c. 2014-07-08 21:45:55 +00:00
alnsn e1f7888b18 Clone libbpfjit tests to check kernel implementation of bpfjit.
Old content of t_bpfjit.c will be moved to t_mbuf.c shortly.
Change packet buffers to unsigned char[] type.
2014-07-08 21:44:26 +00:00
alnsn f58748437d Rename bpfjit tests to libbpfjit. 2014-07-08 21:13:01 +00:00
alnsn 658efa8662 Rename bpfjit tests to libbpfjit, don't test zero buflen and a couple of
cosmetic changes.
2014-07-08 21:07:52 +00:00
pgoyette b9e0c7c1f5 Update disk-space-available requirement to match reality, and leave a
little extra just in case.  The test file is much larger than previously
indicated.

Thanks martin@ for detailed investigation.
2014-07-07 22:06:02 +00:00
alnsn 6cabebfe85 Add bpf/t_mbuf test to the build. 2014-07-07 19:41:22 +00:00
alnsn c129c2d504 Add rump tests for checking how bpf_validate() works with mbuf chains. 2014-07-07 19:40:28 +00:00
alnsn a8013faa06 Add some helper functions for bpf/bpfjit rump tests. 2014-07-07 19:34:32 +00:00
alnsn 66c2729de9 Fix test directory. 2014-06-30 21:34:22 +00:00
alnsn d32d6008b1 Add bpfjit kernel tests for loading from mbuf chain. 2014-06-30 21:30:51 +00:00
darrenr 347b12f138 New IPv6 tests for ipnat parsing need to be built by make so that they can
be executed.
2014-06-30 17:02:55 +00:00
darrenr 6dd125be9b NetBSD has an entry for protocol #255 in /etc/protocols labeled "reserved"
so expect that in the parsing output instead of 255.
2014-06-30 16:14:35 +00:00
darrenr 55ab6190c4 PR kern/47462 2014-06-29 09:27:58 +00:00
darrenr d36a011b61 Add in test cases for testing ipnat's parsing of IPv6 NAT rules 2014-06-29 09:25:31 +00:00
darrenr 1afe7e56bc in2 is no longer a broken test case 2014-06-29 04:00:59 +00:00
alnsn a6c4b35211 Add t_extmem test. 2014-06-25 19:13:27 +00:00
alnsn 966c8b069a Add external memory tests. 2014-06-25 19:13:03 +00:00
alnsn 5b6fcae7f9 Fix copyright. These tests are based on tests created in 2013 on github.com.
https://github.com/alnsn/bpfjit , files test/test_cop{,x}.c.
2014-06-25 18:16:40 +00:00
alnsn 6c8422a022 Add t_cop test. 2014-06-25 18:04:44 +00:00
alnsn 5990d54c7c Add BPF_COP and BPF_COPX tests. 2014-06-25 18:04:05 +00:00
alnsn 65b8637bc0 Zap trailing spaces. 2014-06-24 11:32:36 +00:00
alnsn 19fed70d36 Implement copfuncs and external memory in bpfjit. 2014-06-24 10:53:30 +00:00
shm 509eb314f7 Add bm(3) tests 2014-06-23 10:53:20 +00:00
alnsn ce28ef1f5a libarch on sparc isn't -l${MACHINE_CPU}. Don't link to it. 2014-06-17 19:26:18 +00:00
alnsn 29499f54b7 Link with -l${MACHINE_CPU}. 2014-06-17 06:36:01 +00:00
joerg 13b8fa7d71 Add modfl(3). From FreeBSD. 2014-06-16 12:54:42 +00:00