Commit graph

360 commits

Author SHA1 Message Date
Alexander Ziaee
066ef2aec1
ports/filesystems: Fix fallout
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
2025-01-27 15:03:10 -05:00
Dag-Erling Smørgrav
00fce6284a Revert "stress2: Use tests as the default test user."
This reverts commit 3ee87f8a4d.
2024-12-04 17:13:05 +01:00
Dag-Erling Smørgrav
65d5e55e24 stress2: Fix expected output for tmpfs24.
MFC after:	1 week
Reviewed by:	pho
Differential Revision:	https://reviews.freebsd.org/D47876
2024-12-04 14:13:08 +01:00
Dag-Erling Smørgrav
3ee87f8a4d stress2: Use tests as the default test user.
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
2024-12-04 14:12:43 +01:00
Robert Clausecker
4a0fc138e5 tools: add arc4random_uniform() bias test
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
2024-12-02 11:41:11 +01:00
Peter Holm
2e2699c48a stress2: Added new tmpfs test scenarios 2024-11-28 13:16:35 +01:00
Peter Holm
43778a593f stress2: Added zfs test scenarios 2024-11-18 10:46:28 +01:00
Peter Holm
55aa53fbf2 stress2: Added a zfs regression test scenario 2024-11-18 10:40:16 +01:00
Hartmut Brandt
bc7afab6a1 Fix compilation of bsnmp tests.
PR:		277539
Submitted by:	John F. Carr
2024-10-14 10:23:18 +02:00
Peter Holm
94a294e59d stress2: Added test scenarios for bug report 2024-10-03 13:41:33 +02:00
Andrew Turner
8e95079e17 buf_ring: Add a threaded test
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
2024-09-30 12:04:24 +00:00
Peter Holm
4f4b483d31 stress2: Added a comment about a problem found and fixed 2024-09-16 10:17:50 +02:00
Peter Holm
f6fd5af80a stress2: Do not wait forever for swap usage 2024-08-30 10:04:46 +02:00
Peter Holm
c7c3f6351e stress2: Update comments and remove one test 2024-08-29 09:59:16 +02:00
Peter Holm
c7bc30c24f stress2: Some tests use hw.ncpu to scale the load. Tests on a box with
a large number of CPUs show that this number needs to be capped
2024-08-17 08:37:34 +02:00
Peter Holm
41e03b46da stress2: Fix warning about unused variable. Remove debug "date" 2024-08-16 09:19:51 +02:00
Ed Maste
5c2bc3db20 Remove "All Rights Reserved" from FreeBSD Foundation copyrights
These ones were unambiguous cases where the Foundation was the only
listed copyright holder.

Sponsored by:	The FreeBSD Foundation
2024-07-30 12:16:36 -04:00
Bjoern A. Zeeb
d1bdc2821f Deprecate contigfree(9) in favour of free(9)
As of 9e6544dd6e 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 9e6544dd6e 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
2024-07-26 10:45:01 +00:00
Gordon Bergling
32a9b95a87 stress2: Fix a typo in namecache2.sh
- s/inconsistancy/inconsistency/

MFC after:	3 days
2024-07-21 11:00:58 +02:00
Peter Holm
00266393cc stress2: Fix tests after the new default for newfs(8) is "SU" 2024-07-20 10:52:29 +02:00
Peter Holm
94e62a5f91 stress2: Exclude one more test 2024-07-19 09:55:39 +02:00
Peter Holm
9c73f38cd3 stress2: Add a new test scenario. Update the exclude list 2024-07-16 06:47:28 +02:00
Warner Losh
e9ac41698b Remove residual blank line at start of Makefile
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
2024-07-15 16:43:39 -06:00
Peter Holm
12be19572a stress2: Add two test. Fix a typo while here 2024-07-04 09:14:45 +02:00
Peter Holm
ad99f0062b stress2: Added a new unionfs test scenario 2024-07-04 09:13:39 +02:00
Alexander Ziaee
088cc7d221 man filesystems: fix more xrefs after move to s4
Fixes: 1a720cbec5
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1282
2024-06-27 18:32:05 -06:00
Peter Holm
d26c565597 stress2: Revert change accidentally added in ff4a72c159 2024-06-15 08:33:14 +02:00
Peter Holm
ff4a72c159 stress2: Replace random() with arc4random() 2024-06-11 15:52:34 +02:00
Peter Holm
cb53f83d8a Revert "stress2: Replace rename() with arc4random()"
This reverts commit f65d0b18d9.

Misleading commit message
2024-06-11 15:51:21 +02:00
Peter Holm
f65d0b18d9 stress2: Replace rename() with arc4random() 2024-06-11 09:38:13 +02:00
Peter Holm
005dd61dd6 stress2: Change fixed number of test loops to timed loops. This to
improve testing with qemu.
2024-06-04 09:39:40 +02:00
Mark Johnston
c52ca7dd09 stress2: Don't run aesni.sh on non-x86 platforms
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
2024-05-27 11:26:47 -04:00
Mark Johnston
568be71de3 stress2: Use the proper type for the getopt(3) return value
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
2024-05-27 11:26:47 -04:00
Poul-Henning Kamp
984764d796 Remove GBDE stress test 2024-05-07 07:26:39 +00:00
Peter Holm
9b10aa4a05 stress2: More detailed error reporting 2024-04-26 10:20:49 +02:00
Peter Holm
219d8fb036 stress2: Add an option to exit on error 2024-04-16 10:22:03 +02:00
Peter Holm
02a2005a5a stress2: Add new unionfs test scenarios 2024-04-16 10:21:14 +02:00
John F. Carr
42b117a4bd gpioevents: Fix build with newer Clang
PR:		277422
2024-03-02 10:38:04 -05:00
Peter Holm
81b7ebe32e stress2: Added a few regression tests 2024-02-27 11:05:26 +01:00
Peter Holm
d19f34821d stress2: Add a helper tool 2024-02-24 07:26:16 +01:00
Peter Holm
1ec33855a8 stress2: Added a new NFS test scenario 2024-02-24 06:47:12 +01:00
Peter Holm
7304bd7a52 stress2: Remove fdisk(8) regression test 2024-01-24 09:55:34 +01:00
Peter Holm
d7e45d5b90 stress2: remove the usage of fdisk(8) as this is soon to be removed 2024-01-24 09:54:17 +01:00
Peter Holm
bd9ddbc9cd stress2: Remove useless test scenario 2024-01-09 11:31:05 +01:00
Peter Holm
f1bc2f67a3 stress2: Reduce idle time. Remove debug output 2024-01-09 11:28:26 +01:00
Peter Holm
1db45a4066 stress2: Handle the new output format of vmstat(8) 2024-01-02 14:43:46 +01:00
Gordon Bergling
63c928f17e gpioevents: Fix a typo in a diagnostic output message
- s/recieved/received/

MFC after:	3 days
2023-12-27 09:41:48 +01:00
Peter Holm
2134b35e0f stress2: Fix "-Wunused-but-set-variable" warnings. Style fixes, while here 2023-12-19 10:36:41 +01:00
Peter Holm
41667b04e5 stress2: Only extract the allocation with the exact name "pts" 2023-12-10 09:34:38 +01:00
Peter Holm
4b0615e585 stress2: Handle a define with comments 2023-12-01 10:37:13 +01:00