summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo. It should have been atf_tc_skip, not atf_skipngie2015-04-291-1/+1
| | | | | | Reported by: many, Jenkins Pointyhat to: ngie MFC after: 4 days
* ATF_REQUIRE_KERNEL_MODULE: use atf_skip, not ATF_REQUIRE_MSG so the testcasengie2015-04-291-7/+10
| | | | | | | | no longer bombs out PLAIN_REQUIRE_KERNEL_MODULE: use printf + _exit, no err so the testcase no longer bombs out if it prints to stderr MFC after: 5 days
* Adjust CFLAGS to find freebsd_test_suite/macros.hngie2015-04-281-0/+2
| | | | MFC after: 6 days
* Use PLAIN_REQUIRE_KERNEL_MODULE to require "mqueuefs"ngie2015-04-286-0/+22
| | | | MFC after: 6 days
* - Use ATF_REQUIRE_KERNEL_MDOULE to require aio(4)ngie2015-04-282-25/+33
| | | | | | | | - Don't use /tmp as a basis for temporary files as it's outside of the ATF sandbox - Don't override MAX macro in sys/param.h MFC after: 6 days
* Use ATF_REQUIRE_KERNEL_MODULE instead of aio_available functionngie2015-04-281-17/+10
| | | | MFC after: 6 days
* Add initial (unpolished) macros for interfacing with the FreeBSD test suitengie2015-04-281-0/+53
| | | | | | | This is very rough, but will be replaced/redesigned some time soon after I fix the Jenkins breakage I introduced MFC after: 6 days
* Fill in the copyright boilerplate for the test programngie2015-04-281-0/+27
| | | | MFC after: 6 days
* Move tests/sys/kern/mmap_test to tests/sys/vm/mmap_testngie2015-04-274-1/+8
| | | | | | | | | As jhb noted, the actual mmap(2) implementation is under sys/vm, not sys/kern/, so the correct logical place is tests/sys/vm/, not tests/sys/kern/ X-MFC with: r282076 MFC after: 6 days
* Integrate tools/regression/mmap into the FreeBSD test suite asngie2015-04-272-0/+106
| | | | | | tests/sys/kern/mmap_test MFC after: 1 week
*-. Integrate tools/regression/aio/aiotest and tools/regression/aio/kqueue into thengie2015-04-275-0/+1132
|\ \ | | | | | | | | | | | | | | | FreeBSD test suite as tests/sys/aio MFC after: 1 week
| | * Integrate tests/sys/aio/kqueue into tests/sys/aiongie2015-04-163-0/+454
| |/
| * Integrate tools/regression/aio/aiotest into the FreeBSD test suite as ↵ngie2015-04-163-0/+678
| | | | | | | | tests/sys/aio
| * Update commentsngie2015-04-161-8/+4
| | | | | | | | | | | | Don't install/test unix_cmsg because it's broken [1] PR: 199478
| * Set WARNS to 6, but turn off -Wcast-align; this is an issue with unix_cmsg andngie2015-04-161-6/+3
| | | | | | | | unix_passfd_test
| * Fix WARNS=6 issues with gccngie2015-04-165-7/+8
| |
| * Don't use /tmp for temporary files; this violates ATF/kyuas sandboxngie2015-04-162-2/+2
| |
| * Rename unix_sendtorace_test to unix_sendto_race_testngie2015-04-162-1/+1
| |
| * Convert accf_data_attach_test over to ATF and mark all steps after step 8 inngie2015-04-162-74/+42
| | | | | | | | | | the sourcecode broken (it fails on my system at least; more investigation needed)
| * - Convert zerosend_test to an ATF format testcasengie2015-04-152-121/+173
| | | | | | | | | | | | - bind to random ports - Close the server port so the TCP testcases won't terminate prematurely because bind(2) failed
| * Convert unix_passfd_test to ATFngie2015-04-152-194/+199
| | | | | | | | Mark test 8 as an expected failure so it no longer counts as an unexpected one
| * Pick a random port if a specific one isn't provided on the command linengie2015-04-141-5/+11
| |
| * Test for EPROTOTYPE, not EPROTONOSUPPORTngie2015-04-142-5/+5
| |
| * Use socket, not sockets/ (XXX: reminder to add a sanity check for this later...)ngie2015-04-1428-1/+1
| |
| * Fix WARNS= 6 by removing garbage collecting unused argc/argvngie2015-04-131-1/+1
| |
| |
| \
*-. \ Integrate tools/regression/mqueue into the FreeBSD test suite asngie2015-04-278-0/+577
|\ \ \ | | |/ | | | | | | | | | | | | tests/sys/mqueue MFC after: 1 week
| | * Add mqueue_test.shngie2015-04-131-0/+54
| | |
| | |
| \ \
| \ \
| \ \
*---. \ \ Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifongie2015-04-2714-0/+5256
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and tools/regression/file into the FreeBSD test suite as tests/sys/file MFC after: 1 week
* \ \ \ \ \ Integrate tools/regression/kqueue into the FreeBSD test suite asngie2015-04-2712-0/+1770
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests/sys/kqueue MFC after: 1 week
| \ \ \ \ \ \
| \ \ \ \ \ \
*-. \ \ \ \ \ \ Integrate tools/regression/execve into the FreeBSD test suite asngie2015-04-2711-0/+279
|\ \ \ \ \ \ \ \ | | | |_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests/sys/kern/execve MFC after: 1 week
| | * | | | | | Install the proper filesngie2015-04-133-0/+0
| | | |_|/ / / | | |/| | | |
| | * | | | | Add missing Makefiles for fifo and filengie2015-04-132-0/+38
| | | | | | |
| | * | | | | Add $FreeBSD$ RCS tagngie2015-04-121-0/+2
| |/ / / / /
| * | | | | Integrate tools/regression/execve into the FreeBSD test suite as ↵ngie2015-04-1211-0/+277
| | |/ / / | |/| | | | | | | | | | | | | tests/sys/kern/execve
| * | | | Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifongie2015-04-125-0/+2493
| | | | |
| * | | | Integrate tools/regression/mmap into the FreeBSD test suite as tests/sys/mmapngie2015-04-123-0/+113
| | | | |
| * | | | Default to WARNS=6ngie2015-04-121-0/+3
| | |/ / | |/| |
| * | | Integrate tools/regression/file into the FreeBSD test suite as tests/sys/filengie2015-04-118-0/+2725
| | | |
| * | | Add directory iteration piece for tests/sys/mqueuengie2015-04-111-0/+1
| | | |
| * | | Integrate tools/regression/posixshm into the FreeBSD test suite as ↵ngie2015-04-115-0/+825
| | |/ | |/| | | | | | | tests/sys/posixshm
| * | Integrate tools/regression/mqueue into the FreeBSD test suite as ↵ngie2015-04-116-0/+522
| |/ | | | | | | tests/sys/mqueue
| * Integrate tools/regression/kqueue into the FreeBSD test suite as ↵ngie2015-04-1112-0/+1770
| | | | | | | | tests/sys/kqueue
| * Integration tools/regression/vfs into the FreeBSD test suitengie2015-04-113-0/+49
| |
| * Turn on test building/installation herengie2015-04-111-0/+1
| |
| * Start integrating tools/regression/sockets into tests/sys/socketsngie2015-04-1127-0/+7806
|/
* Add some new modes to OpenCrypto. These modes are AES-ICM (can be usedjmg2014-12-127-0/+1311
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for counter mode), and AES-GCM. Both of these modes have been added to the aesni module. Included is a set of tests to validate that the software and aesni module calculate the correct values. These use the NIST KAT test vectors. To run the test, you will need to install a soon to be committed port, nist-kat that will install the vectors. Using a port is necessary as the test vectors are around 25MB. All the man pages were updated. I have added a new man page, crypto.7, which includes a description of how to use each mode. All the new modes and some other AES modes are present. It would be good for someone else to go through and document the other modes. A new ioctl was added to support AEAD modes which AES-GCM is one of them. Without this ioctl, it is not possible to test AEAD modes from userland. Add a timing safe bcmp for use to compare MACs. Previously we were using bcmp which could leak timing info and result in the ability to forge messages. Add a minor optimization to the aesni module so that single segment mbufs don't get copied and instead are updated in place. The aesni module needs to be updated to support blocked IO so segmented mbufs don't have to be copied. We require that the IV be specified for all calls for both GCM and ICM. This is to ensure proper use of these functions. Obtained from: p4: //depot/projects/opencrypto Relnotes: yes Sponsored by: FreeBSD Foundation Sponsored by: NetGate
* Use PROGS instead of PROG and remove unnecessary SRCS?= assignmentngie2014-11-081-3/+2
| | | | | | | | | | | | | | | Using PROG instead of PROGS will in cases of high -j with -DNO_ROOT cause the PROG to show up more than once as it's handling the SCRIPTS install case in a recursive manner, separate from the non-recursive case After the recent batch of commits to bsd.progs.mk to fix behavior with how variables are defaulted to, explicitly setting SRCS for a PROG is no longer required MFC after: 1 week Reviewed by: asomers Phabric: D1130 Sponsored by: EMC / Isilon Storage Division
* Remove unused tests/lib directoryngie2014-11-031-13/+0
| | | | MFC after: 1 week
* Remove explicit KYUAFILE=yes from tests/sys/Makefilengie2014-11-031-4/+0
| | | | | | | | | | This causes the directory traversing Kyuafile to be installed, which in turn causes tests/sys/pjdfstest to always be run from /usr/tests/sys Let KYUAFILE default to auto, so the file generated by suite.test.mk gets installed instead MFC after: 1 week
* Integrate pjdfstest test suite execution into kyuangie2014-11-0321-1/+379
| | | | | | | | | | | | | | pjdfstest execution is opt-in and must be done as root due to some of the assumptions made by the test suite and lack of error checking in the non-root case A description of how to execute pjdfstest with kyua is provided in share/pjdfstest/README Phabric: D824 (an earlier prototype patch) MFC after: 1 month Relnotes: yes Sponsored by: EMC / Isilon Storage Division
OpenPOWER on IntegriCloud