Commit Graph

139 Commits

Author SHA1 Message Date
martin
9b0b62c8b6 Add mixerctl test directory 2017-01-02 20:37: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
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
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
ozaki-r
13445aedf0 Add very basic tests for tun devices 2016-09-05 02:26:48 +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
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
ozaki-r
be7deda7eb Add tests for tap(4) 2016-03-04 02:44:45 +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
christos
11ff782d8f Add gpt tests 2015-12-04 17:19:33 +00:00
knakahara
9875a0c6a0 add basic if_gif tests to ATF. 2015-11-05 00:02:59 +00:00
christos
a2d53314ad debug for libproc tests 2015-09-24 16:02:39 +00:00
christos
5255484a24 add new libproc test stuff 2015-09-24 14:50:06 +00:00
ozaki-r
2f55a7d3ed Add tests for NDP 2015-08-03 09:54:20 +00:00
ozaki-r
d4516589be Add tests for ARP 2015-07-29 06:10:09 +00:00
christos
19e95bc726 Missed one 2015-01-06 03:26:05 +00:00
christos
fb3ca3528d new tests directory 2015-01-06 03:14:03 +00:00
christos
86aec1e590 more test directories. 2014-12-03 01:29:33 +00:00
christos
70469cdbb4 add new test directories 2014-12-03 00:52:52 +00:00
uebayasi
3dcb1bdb52 Minimal linker script test. 2014-11-14 09:03:39 +00:00
uebayasi
67857e2074 Dig mcast test directories. 2014-10-12 12:32:15 +00:00
ozaki-r
de6373426e Add net/if_bridge test 2014-09-18 15:25:10 +00:00
apb
6b933a652f Test make(1) by running the maintained tests, not unmaintained
copies of them.

* Remove all old tests from src/tests/usr.bin/make/d_*.  These tests
  were unmaintained old copies of the actual tests which are maintained
  under src/usr.bin/make/unit-tests.  One exception is the test in
  d_unmatchedvarparen.mk, which was new, but has nw been added to
  src/usr.bin/make/unit-tests/varmisc.mk.
* In src/tests/usr.bin/make/Makefile, copy all
  the tests from src/usr.bin/make/unit-tests to
  ${DESTDIR}/usr/tests/usr.bin/make/unit-tests.
* In src/tests/usr.bin/make/t_make.sh, run the tests installed above,
  instead of the old tests.
* In etc/mtree/NetBSD.dist.tests, create the
  usr/tests/usr.bin/make/unit-tests diectory.
* Update the set lists for all the above.
2014-08-22 16:45:32 +00:00
alnsn
e281e658e4 Add new net/t_bpfjit test. 2014-06-30 21:32:59 +00:00
christos
cf026aea41 add one more directory. 2014-05-31 14:36:53 +00:00
christos
6162057ac7 add new directory 2014-05-31 14:31:01 +00:00
martin
9ce5f7726e Add a test case for PR kern/48787. 2014-05-10 14:15:25 +00:00
uebayasi
413d532bcc Minimal execve(2) ATF test. 2014-04-29 06:29:02 +00:00
jmmv
dc7b86517b Adjust directories for atf 0.19 import. 2014-02-08 19:45:51 +00:00
martin
363ab82ea5 Backout previous, now that the makefile glitch causing population of
the tests/opencrypto directory has been fixed
2014-01-15 10:21:08 +00:00
martin
6d31d85c48 Add usr/tests/opencrypto 2014-01-15 08:21:44 +00:00
pgoyette
83ebdf3067 Create new directory for the opencrypto tests 2014-01-14 18:07:20 +00:00
gson
26125ae798 Add some minimal tests of vmstat(1), to serve as regression tests
for PR bin/44518.
2014-01-07 16:47:13 +00:00
dholland
2f193ecc6c more dark ATF rituals are required 2013-08-11 03:53:12 +00:00
kefren
ff6f2bd928 Add a couple of basic IP/MPLS forwarding tests 2013-07-19 04:00:40 +00:00
christos
1386c00816 new test directories 2013-03-21 19:17:51 +00:00
jmmv
48b2f2c970 Add new directories for kyua-atf-compat. 2013-02-25 00:31:51 +00:00
jmmv
89e4f17129 Register directories and files provided by kyua-cli. 2013-02-23 14:18:36 +00:00
jmmv
dbf5b53da3 Enable the build of kyua-testers and register its files and directories.
This is conditional on MKKYUA.
2013-02-19 06:06:39 +00:00
jmmv
7d3a48f1d2 Hook Lutok into the build. This is all protected by the MKKYUA guard. 2013-02-16 21:40:05 +00:00
jmmv
8f212f1945 Move tests for examples from tests/examples to tests/share/examples.
This is to match the layout of the installed and source files more closely.
While doing this, honor the MKSHARE variable, as the files these tests
validate are only installed when MKSHARE=yes.
2013-02-16 12:44:25 +00:00
njoly
a23dfbdc09 Adjust for usr/tests/lib/libc/c063 debug entries. 2012-11-23 08:36:47 +00:00