aboutsummaryrefslogtreecommitdiff
path: root/tools/test
Commit message (Collapse)AuthorAgeFilesLines
* stress2: Fix cleanupPeter Holm11 days2-2/+2
|
* stress2: Limit output from testPeter Holm11 days1-1/+1
|
* stress2: Added two new test scenariosPeter Holm2026-01-242-0/+185
|
* stress2: Added two syzkaller reproducers. Updated the exclude filePeter Holm2026-01-243-0/+531
|
* Extend the script to collect gprof dataGeorge V. Neville-Neil2026-01-081-4/+27
| | | | While we're at it, switch to simple waiting from communicate() calls.
* Split counting from sampling.George V. Neville-Neil2026-01-061-4/+21
|
* Correct the data collection arguments. Add proper tempdirs.George V. Neville-Neil2026-01-061-3/+6
|
* Start adding an exercise mode for programs under test.George V. Neville-Neil2026-01-051-9/+24
| | | | | In exercise mode we collect data for every available counter on a program and keep all of that in a directory in /tmp.
* Convert fully to Python 3. Remove licence text, only keepGeorge V. Neville-Neil2026-01-051-54/+19
| | | | | | SPDX. Update to use argparse rather than OptionParser (now deprecated).
* stress2: Fix looping at exit and fix the cleanupPeter Holm2025-12-121-2/+2
|
* stress2: Added a regression testPeter Holm2025-12-091-0/+191
|
* stress2: syzkaller87 fixed by ebc17879f0885ca87644980f6275b9759b311eb3Peter Holm2025-11-221-1/+0
|
* stress2: Added a regression testPeter Holm2025-11-221-0/+19
|
* stress2: Update the exclude listPeter Holm2025-11-211-8/+1
|
* stress2: No not rely on unset variables when using 'set -u'Peter Holm2025-11-212-2/+3
|
* stress2: Added more robust test terminationPeter Holm2025-11-211-1/+8
|
* stress2: Added a syzkaller reproducerPeter Holm2025-11-121-0/+384
|
* stress2: Added kqueuex(KQUEUE_CPONFORK) test scenariosPeter Holm2025-10-183-0/+515
|
* stress2: Added a regression testPeter Holm2025-10-171-0/+206
|
* stress2: Do not try to open a fifoPeter Holm2025-10-041-2/+4
|
* stress2: Add syzkaller reproducersPeter Holm2025-10-044-1/+1461
|
* stress2: Limit disk usage to avoid a disk full messagePeter Holm2025-09-211-3/+3
|
* stress2: Do not follow symbolic linksPeter Holm2025-09-212-2/+2
|
* stress2: Fix removal of supplementary groupsOlivier Certner2025-09-1720-20/+20
| | | | | | | | | | To this end, call setgroups(0, NULL) instead of passing the effective GID. This stance is fully compatible with older versions of FreeBSD. Fixes: 9da2fe96ff2e ("kern: fix setgroups(2) and getgroups(2) to match other platforms") MFC after: 5 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D52290
* stress2: Added two new fdescfs test scenariosPeter Holm2025-09-162-0/+95
|
* stress2: Fix how the reproducer is run. Lingering threads seen beforePeter Holm2025-09-161-18/+8
|
* stress2: Do not exit the test program without clearing the trace flagsPeter Holm2025-09-151-4/+4
| | | | Discussed with: kib
* stress2: Fix cleanup of temporary filesPeter Holm2025-09-1415-25/+26
|
* test/netfibs: Fix a typo in a source code commentGordon Bergling2025-08-171-1/+1
| | | | | | - s/aguments/arguments/ MFC after: 3 days
* stress2: A workaround for an infrequent "filesystem full" issuePeter Holm2025-08-011-2/+7
|
* stress2: Added two syzkaller reproducers and updated the exclude listPeter Holm2025-08-013-0/+292
|
* stress2/fullpath2: Clean up the vn_fullpath DTrace one-linerMateusz Piotrowski2025-07-181-1/+1
| | | | | | | | | | | | | - Remove -w; there is no need for destructive actions here. - Remove the glob from before "vn_fullpath"; the probe description matches vn_fullpath only anyway, so there is no need for the glob here. PR 288222 Reviewed by: christos Approved by: christos (mentor) Fixes: 113f2f0c76a7 stress2: Updated dtrace comment Differential Revision: https://reviews.freebsd.org/D51341
* stress2: Updated dtrace commentPeter Holm2025-07-161-1/+1
|
* stress2: Added syzkaller reproducers. Update the exclude listPeter Holm2025-07-163-2/+398
|
* stress2: Added a regression testPeter Holm2025-06-011-0/+36
|
* stress2: Fix scenario after the changes to ptrace(PT_ATTACH) in commit ↵Peter Holm2025-05-161-22/+14
| | | | | | | ecc662c749b1. The traced process now no longer exits immediately at the attach. After a PT_DETACH do not try to wait on a non child process. Style fixes.
* stress2: Added syzkaller reproducersPeter Holm2025-05-124-0/+889
|
* stress2: exlock2.sh: Fix impact of previous '-U' removalOlivier Certner2025-05-121-1/+1
| | | | | | | | | | | In commit "stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change" (1265d3b07eaa), I forgot that '-U' also has the side-effect of implying '-x' by default. Now that '-U' has been removed, make '-x' explicit. Fixes: 1265d3b07eaa ("stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' change") MFC after: 1 hour Sponsored by: The FreeBSD Foundation
* stress2: exlock2.sh: Preserve behavior after ps(1)'s '-U' changeOlivier Certner2025-05-071-1/+1
| | | | | | | | | | | | | | 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
* stress2: Added two syzkaller reproducersPeter Holm2025-04-252-0/+846
|
* stress2: Move files to the right directoryPeter Holm2025-04-0327-0/+2991
|
* ports/filesystems: Fix falloutAlexander Ziaee2025-01-275-5/+5
| | | | | | | | | | | | | A new filesystems category was created in the ports tree, with 142 filesystem related ports moved to there, some of them renamed. Update all references in the src tree to the new locations. PR: 283881 Fixes: ports:6e2da9672f79f44 (filesystems: add new category) MFC after: 1 month Reviewed by: fuz, mhorne, bapt Accepted by: mhorne (mentor) Differential Revision: https://reviews.freebsd.org/D48406
* Revert "stress2: Use tests as the default test user."Dag-Erling Smørgrav2024-12-041-1/+1
| | | | This reverts commit 3ee87f8a4d7a56c846d356d028e77bd72a0e1fbb.
* stress2: Fix expected output for tmpfs24.Dag-Erling Smørgrav2024-12-041-1/+0
| | | | | | MFC after: 1 week Reviewed by: pho Differential Revision: https://reviews.freebsd.org/D47876
* stress2: Use tests as the default test user.Dag-Erling Smørgrav2024-12-041-1/+1
| | | | | | | | This allows some tests to run without prior configuration; others will have to be modified to use `su -m` since the tests account is locked. Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D47875
* tools: add arc4random_uniform() bias testRobert Clausecker2024-12-022-1/+217
| | | | | | | | | | | | | | This test program executed arc4random_uniform() repeatedly and analyzes the distribution of return values, showing how similar the parameters of the observed outcome are to the expected parameters of an equidistribution. This cannot be a unit test as it takes quite a while to run and lots of memory (~3 GB) to execute. Reviewed by: cem Approved by: emaste Differential Revision: https://reviews.freebsd.org/D47659
* stress2: Added new tmpfs test scenariosPeter Holm2024-11-283-0/+289
|
* stress2: Added zfs test scenariosPeter Holm2024-11-184-0/+339
|
* stress2: Added a zfs regression test scenarioPeter Holm2024-11-181-0/+134
|
* Fix compilation of bsnmp tests.Hartmut Brandt2024-10-141-0/+1
| | | | | PR: 277539 Submitted by: John F. Carr