aboutsummaryrefslogtreecommitdiff
path: root/tools/test
Commit message (Collapse)AuthorAgeFilesLines
* stress2: A workaround for an infrequent "filesystem full" issuePeter Holm6 days1-2/+7
|
* stress2: Added two syzkaller reproducers and updated the exclude listPeter Holm6 days3-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
* stress2: Added test scenarios for bug reportPeter Holm2024-10-035-1/+990
|
* buf_ring: Add a threaded testAndrew Turner2024-09-303-0/+345
| | | | | | | | Add a threaded test for buf_ring.h used to help find issues with it on architectures with a weak memory order. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D46158
* stress2: Added a comment about a problem found and fixedPeter Holm2024-09-161-0/+8
|
* stress2: Do not wait forever for swap usagePeter Holm2024-08-301-5/+6
|
* stress2: Update comments and remove one testPeter Holm2024-08-291-4/+3
|
* stress2: Some tests use hw.ncpu to scale the load. Tests on a box withPeter Holm2024-08-1712-0/+14
| | | | a large number of CPUs show that this number needs to be capped
* stress2: Fix warning about unused variable. Remove debug "date"Peter Holm2024-08-162-6/+4
|
* Remove "All Rights Reserved" from FreeBSD Foundation copyrightsEd Maste2024-07-303-3/+0
| | | | | | | These ones were unambiguous cases where the Foundation was the only listed copyright holder. Sponsored by: The FreeBSD Foundation
* Deprecate contigfree(9) in favour of free(9)Bjoern A. Zeeb2024-07-263-19/+12
| | | | | | | | | | | | | | | As of 9e6544dd6e02c46b805d11ab925c4f3b18ad7a4b contigfree(9) is no longer needed and should not be used anymore. We leave a wrapper for 3rd party code in at least 15.x but remove (almost) all other cases from the tree. This leaves one use of contigfree(9) untouched; that was the original trigger for 9e6544dd6e02 and is handled in D45813 (to be committed seperately later). Sponsored by: The FreeBSD Foundation Reviewed by: markj, kib Tested by: pho (10h stress test run) Differential Revision: https://reviews.freebsd.org/D46099
* stress2: Fix a typo in namecache2.shGordon Bergling2024-07-211-1/+1
| | | | | | - s/inconsistancy/inconsistency/ MFC after: 3 days
* stress2: Fix tests after the new default for newfs(8) is "SU"Peter Holm2024-07-2011-0/+11
|
* stress2: Exclude one more testPeter Holm2024-07-191-0/+1
|
* stress2: Add a new test scenario. Update the exclude listPeter Holm2024-07-162-1/+44
|
* Remove residual blank line at start of MakefileWarner Losh2024-07-1517-17/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* stress2: Add two test. Fix a typo while herePeter Holm2024-07-041-1/+3
|
* stress2: Added a new unionfs test scenarioPeter Holm2024-07-041-0/+74
|
* man filesystems: fix more xrefs after move to s4Alexander Ziaee2024-06-2822-30/+30
| | | | | | Fixes: 1a720cbec513 Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1282
* stress2: Revert change accidentally added in ff4a72c159e0Peter Holm2024-06-151-2/+1
|
* stress2: Replace random() with arc4random()Peter Holm2024-06-112-3/+4
|
* Revert "stress2: Replace rename() with arc4random()"Peter Holm2024-06-112-4/+3
| | | | | | This reverts commit f65d0b18d9372b522e247c7bd58422a7ab3d30d8. Misleading commit message
* stress2: Replace rename() with arc4random()Peter Holm2024-06-112-3/+4
|
* stress2: Change fixed number of test loops to timed loops. This toPeter Holm2024-06-0415-24/+49
| | | | improve testing with qemu.
* stress2: Don't run aesni.sh on non-x86 platformsMark Johnston2024-05-271-0/+5
| | | | | | | | | | | | aesni.ko only exists on amd64 and i386, so on other platforms we are just running geli.sh twice. In fact, this test has little value anymore because aesni is included in GENERIC, so it's always going to be used in preference to cryptosoft. Reviewed by: pho MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45366
* stress2: Use the proper type for the getopt(3) return valueMark Johnston2024-05-271-6/+7
| | | | | | | | | On arm platforms "char" is typically unsigned, in which case the test "(c = getopt(...)) != -1" does not behave as desired. Reviewed by: pho MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45365
* Remove GBDE stress testPoul-Henning Kamp2024-05-071-55/+0
|
* stress2: More detailed error reportingPeter Holm2024-04-261-17/+33
|
* stress2: Add an option to exit on errorPeter Holm2024-04-161-2/+9
|
* stress2: Add new unionfs test scenariosPeter Holm2024-04-164-0/+297
|
* gpioevents: Fix build with newer ClangJohn F. Carr2024-03-022-2/+4
| | | | PR: 277422