opnsense-src/tools/test
Olivier Certner 1265d3b07e
stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change
Remove '-Uroot', as now '-U' selects processes based on their real user
IDs, and since the program using them was launched as 'root', the
equivalent now is just to remove it, as now ps(1) by default selects
processes based on its effective UID (root) and their effective UIDs.

It seems that matching on effective or real UID does not really matter
in this test, but at least this change simplifies the command-line.

MFC after:      1 day
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D50200
2025-05-07 11:14:55 +02:00
..
arc4random tools: add arc4random_uniform() bias test 2024-12-02 11:41:11 +01:00
auxinfo Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
bsnmp Fix compilation of bsnmp tests. 2024-10-14 10:23:18 +02:00
buf_ring buf_ring: Add a threaded test 2024-09-30 12:04:24 +00:00
callout_free Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
devrandom Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
gpioevents Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
hwpmc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
iconv Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
malloc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
net Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
netfibs Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
popss Remove "All Rights Reserved" from FreeBSD Foundation copyrights 2024-07-30 12:16:36 -04:00
ppsapi Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
pthread_vfork tools: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ptrace Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
sort Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
stress2 stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change 2025-05-07 11:14:55 +02:00
upsdl Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
vm86 Remove "All Rights Reserved" from FreeBSD Foundation copyrights 2024-07-30 12:16:36 -04:00
xregs_sig Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
README tools: add arc4random_uniform() bias test 2024-12-02 11:41:11 +01:00

This directory is for standalone test programs.  For the FreeBSD
Test Suite, which uses Kyua, please see /usr/src/tests/

A test program is one that exercises a particular bit of the system
and either tries to break it or measures its performance.

Please make a subdir per program, and add a brief description to this file.

arc4random	Bias test for arc4random_uniform()
auxinfo		Return information on page sizes, CPUs, and OS release date.
devrandom	Programs to test /dev/*random.
gpioevents	Test delivery of gpio pin-change events to userland.
hwpmc		Automatically trigger every event in hwpmc(4).
iconv		Character set conversion tests.
malloc		A program to test and benchmark malloc().
net		A set of generic test programs for networking.
netfibs		Programs to test multi-FIB network stacks.
posixshm	A program to test POSIX shared memory.
ppsapi		Test 1 Pulse Per Second (1PPS) input for time control.
pthread_vfork	Check that vfork and pthreads work together.
ptrace		Verify that ptrace works with syscalls, vfork etc.
sort		Tests for the sort command, including a full regression.
stress2		Kernel stress tool.
testfloat	Programs to test floating-point implementations
upsdl		Test of mmap functionality.