Commit Graph

944 Commits

Author SHA1 Message Date
ozaki-r 0b5da45aff Add tests for ipsec
- Check if setkey correctly handles algorithms for AH/ESP
- Check IPsec of transport mode with AH/ESP over IPv4/IPv6
- Check IPsec of tunnel mode with AH/ESP over IPv4/IPv6
2017-04-14 02:56:48 +00:00
christos e1864aa508 Add dc docs 2017-04-10 16:38:40 +00:00
kamil 456ae01b15 Remove tests/kernel/arch from mtree entries
The tests/kernel/arch directory has been removed. The t_ptrace files have
been merged and moved to tests/lib/libc/sys.

Sponsored by <The NetBSD Foundation>
2017-04-03 04:33:32 +00:00
kamil d8c68e22d2 Add new directory usr/tests/kernel/arch/x86 in mtree
Sponsored by <The NetBSD Foundation>
2017-02-22 02:42:53 +00:00
kre 67cef682dd PR bin/50934
Add a test program for the bug described in this PR.
This is the first pkill/pgrep/prenice test (more would be good!)

This test has been confirmed to work once the bug described in the PR
has been fixed, so the test is not marked "expected to fail" even
though initially that is what should happen.

Note: the test cana also fail if the system running the tests happens
to be running processes with names that match the patterns searched for
by the test, other than the test program itself.  This is expected to be
unlikely.
2017-02-21 10:40:30 +00:00
christos efebee5612 sort completely 2017-02-20 13:45:43 +00:00
pgoyette d34bac1615 Move the /etc/sasl stuff to proper position in collating sequence.
XXX Ideally we would sort the whole file...
2017-02-20 04:02:53 +00:00
kamil 8b8807ec7c Remove tests/lib/libc/gen/exect paths from mtree and sets
The exect tests have been removed from the distribution.

Requested by Thomas Klausner.
2017-02-20 03:14:42 +00:00
pgoyette 72c3d8d573 Add /etc/rc.d/unbound per christos@
XXX should we move the /etc/sasl/ entries to their proper place in
XXX sort order?  as of now they're sitting in the middle of /etc/rc.d !
2017-02-20 00:33:53 +00:00
pgoyette 2b301e390b Mark the entry for /etc/rc.d/nsd optional - it's not included in every
system.
2017-02-20 00:29:37 +00:00
knakahara abf7aa227e add l2tp(4) basic test. 2017-02-16 08:44:47 +00:00
christos c515fb6ba2 add postfix .so dir 2017-02-14 01:11:27 +00:00
snj c370717c80 prune /usr/X11R7/lib/X11/xkb/torture, a ghost from the days of xkbdata 2017-02-13 04:23:19 +00:00
christos 9e972dfc78 add nsd and unbound example dirs 2017-02-07 22:31:29 +00:00
joerg b69d605610 Update Clang header directory. 2017-01-11 12:10:48 +00:00
christos 9b4226cef8 add nsd npfd 2017-01-07 22:37:22 +00:00
christos 09e56bb693 add nsd 2017-01-07 19:55:35 +00:00
martin 9b0b62c8b6 Add mixerctl test directory 2017-01-02 20:37:12 +00:00
maya 9287afda0f Add blacklistd.conf so it gets backed up, too. 2016-12-27 17:13:45 +00:00
christos 4bb5b9d374 Add npf.conf so it gets backed up. 2016-12-27 16:48:12 +00:00
kamil b8092d5dfa Add regs1 in arch/i386/t_ptrace_wait*
regs1:
    Call PT_GETREGS and iterate over General Purpose registers

Sponsored by <The NetBSD Foundation>
2016-12-13 18:00:10 +00:00
kamil 5e8d31ff24 Attach t_exect to ATF tests and distribution
Add missing SIGTRAP handler. Assert there that the signal is SIGTRAP as
expected and si_code TRAP_TRACE.

This test will break on some ports that have dummy or incomplete
implementation of exect(2).

This test works on amd64 correctly.

Sponsored by <The NetBSD Foundation>
2016-12-09 06:12:02 +00:00
kamil 96cf2030eb Refactor location of amd64-specific ATF tests to new dir kernel/arch/amd64
Rename
 - tests/kernel/t_ptrace_amd64_wait.c
to
 - tests/kernel/arch/amd64/t_ptrace_wait.c
and adapt appropriate files accordingly.

New directory will be used for more amd64-specific tests, verifying the
MD parts of the kernel.

Remove old entries from distrib/sets/lists as they were added a while ago.

Sponsored by <The NetBSD Foundation>
2016-12-02 05:54:14 +00:00
ozaki-r 6d9a9bf113 Add basic tests for vlan(4) 2016-11-26 03:19:48 +00:00
snj 7e075c29bc update for xkeyboard-config 2.19 2016-11-22 19:51:37 +00:00
kamil 8fce8aab12 Add new test-suite t_dummy for libpthread_dbg
At the moment this test does nothing except reports failure from td_open()
for overloaded (implemented) dummy1_proc_lookup() (.proc_lookup from
td_proc_callbacks_t) of the following form:

static int
dummy1_proc_lookup(void *arg, const char *sym, caddr_t *addr)
{
        return TD_ERR_ERR;
}

This file and directory with tests is placeholder for new ones, without
further need to alter mtree and distribution sets.

The libpthread_dbg interface and library is used by gdb(1) to handle
threads in applications.

Sponsored by <The NetBSD Foundation>
2016-11-16 21:36:22 +00:00
matt 4bd7beee2d An awk file is not a directory. 2016-11-15 22:31:07 +00:00
skrll 880c0915ea Fix librefuse falout.... Hi pho 2016-11-15 12:59:33 +00:00
abhinav 6cddff1a99 Add tests for uniq(1) based on the example test cases provided in the POSIX man page.
Ok christos
2016-10-22 14:13:39 +00:00
mrg 30db75397d build new pt_PT.UTF-8 locale from libX11 1.6.4. 2016-10-04 23:52:02 +00:00
ozaki-r 13445aedf0 Add very basic tests for tun devices 2016-09-05 02:26:48 +00:00
christos c90b9921a5 unbound additions 2016-08-20 11:21:50 +00:00
mrg 870f1fd842 build and install libepoxy 2016-08-18 08:11:22 +00:00
jakllsch 64d64ddcb3 tests for sys/dev/clock_subr.c 2016-08-14 14:55:41 +00:00
pgoyette 6e4e96b573 Add the real directory as well as the debug directory. 2016-07-29 10:09:38 +00:00
pgoyette 9c91731aa4 Add destination directory for new dev/fss test 2016-07-29 09:52:46 +00:00
christos 0390a67c3a Mark phone so we rebuild every time. 2016-06-09 04:26:07 +00:00
christos 1fa5958a6b Don't run .BEGIN if we are cleaning or making obj. 2016-06-09 04:07:46 +00:00
christos b3a11f7281 Avoid most of the .CURDIR hackery by letting make locate the files. 2016-06-09 03:44:01 +00:00
mrg 8ee72997ca make sure the build dist files are build before we try to use them. 2016-06-09 00:19:31 +00:00
mrg 0fd293a610 don't give NetBSD.dist.tmp any inputs, as then it won't rebuild ever
unless they change, and we want to rebuild based upon what inputs are
present, not when they were last touched.

this fixes update builds that switch options that change the dirlist
like MKX11 or MKCOMPAT, restoring a portion of rev 1.14.

note that some opertions like turning off MKX11=yes will also require
a fresh DESTDIR, in addition to this fix.  there may be more issues
remaining, but i am now able to enable MKX11=yes successfully without
any other change.
2016-06-08 22:12:42 +00:00
christos 5d3395496d Adjust to new freetype structure. 2016-05-16 22:19:41 +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
gson 5973801c0c Add regression tests for some past gdb bugs. 2016-04-08 10:09:16 +00:00
mrg 3d2fbcae7f add /usr/include/gcc-5 directory to the distribution and adjust the
GCC 5 parts of the build (not yet enabled) to install/look there.
2016-03-12 23:07:05 +00:00
ozaki-r be7deda7eb Add tests for tap(4) 2016-03-04 02:44:45 +00:00
joerg ba87356165 Update build system for LLVM 3.8.0rc3. 2016-02-27 21:47:30 +00:00
roy dddc1afbdc Move 10-wpa_supplicant, 15-timezone, 29-lookup-hostname and 50-ypbind
from /libexec/dhcpcd-hooks to /usr/share/examples/dhcpcd/hooks so they
are not run by default.
2016-01-07 22:07:18 +00:00
jakllsch 2ba22c9356 Add some tests for the kernel HID parser. 2016-01-05 17:22:38 +00:00
jakllsch 3a26fec827 tests for libusbhid (many of which fail) 2016-01-01 21:38:53 +00:00