Commit Graph

2066 Commits

Author SHA1 Message Date
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
apb c38e7a8bc8 Update fmtcheck(3) test now that pointers and longs are differentiated. 2014-06-14 08:19:02 +00:00
martin 7c2f361f8e Properly initialize arguments for the tmpfs mounted in this test.
Pointed out by pooka@.
2014-06-10 13:15:18 +00:00
he f693807fd8 Fix static linking for the tests: -lrump is also used by -lrumpuser,
so we also need -lrump after -lrumpuser.  Fixes build for sun2.
2014-06-10 04:28:39 +00:00
he 68eb80a8fe When linking statically (as for sun2), need to list -lrump also
after -lrumpuser, because rump_pub_lwproc_switch is used in the
latter and defined in the former.
2014-06-09 18:22:05 +00:00
pgoyette cbaf1827a0 Convert size check to use 1K blocks (more human-friendly), and fix
atf_skip message to reference block size rather than bytes.

OK martin@
2014-06-08 13:45:14 +00:00
shm fc03103b46 PR/48517 testcase provided by Felix Deichmann 2014-06-06 06:59:21 +00:00
njoly 954ca52517 Add testcase that check lstat(2) values for symbolic links (PR
kern/48864).
2014-06-03 11:56:07 +00:00
christos 9462261d53 PR/48843: Jarmo Jaakkola: Test cses for break/continue/return broken
inside dot commands:

 The test cases are named with the pattern
     dotscope_cmd_cmdscope,
 where dotscope is the scope in which the dot command is and cmdscope
 is the scope where cmd is in the sourced file.
2014-05-31 14:29:06 +00:00
alnsn de2c6dc51a Update copyright year. 2014-05-23 11:48:26 +00:00
alnsn 02f87fcd70 Test Array Bounds Check Elimination (ABC) and test bpf programs from bpf(4). 2014-05-23 11:47:59 +00:00
martin 3313ae3d61 Re-enable alpha IEEE compiler options 2014-05-18 10:47:03 +00:00
palle 65aa7f14df Added test of -d option to sysctl 2014-05-16 18:50:28 +00:00
martin 4e0f19c597 Set a bigger timeout - this test needs > 3000s on my shark (mostly for
unpacking the test image)
2014-05-15 14:53:05 +00:00
christos 639c8a82b3 CID 978337: Fix resource leak 2014-05-12 15:33:12 +00:00