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
Warner Losh
6bfca4dcab
tools: Automated cleanup of cdefs and other formatting
...
Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
2023-11-26 22:24:01 -07:00
Peter Holm
49a83b9439
stress2: Do not make assumptions about the value of UFS_LINK_MAX
2023-11-25 10:36:00 +01:00
Peter Holm
ef1dad6d83
stress2: Fix "-Wunused-but-set-variable" warnings
2023-10-18 08:54:38 +02:00
Richard Scheffenegger
569f2292ca
test: iterate both reader and writer threads starting at the actual pagesize
...
Reviewed By: pho
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D42160
2023-10-11 23:11:57 +02:00
Peter Holm
2b716e00cf
stress2: Extent timeout limit to avoid false positive errors
2023-09-27 13:01:00 +02:00
Peter Holm
0f35fd3347
stress2: Remove tests from the exclude list
2023-09-27 13:00:01 +02:00
Peter Holm
0ec1bbe579
stress2: Cap total runtime
2023-09-27 12:58:39 +02:00
John Baldwin
c4e2333cb2
Update a few tools to not embed $FreeBSD$ in generated files
...
Reviewed by: imp, emaste
Differential Revision: https://reviews.freebsd.org/D41959
2023-09-25 07:55:43 -07:00
Peter Holm
0d30f3afa6
stress2: No need to write to the console. Add revision to log string
2023-08-19 09:29:09 +02:00
Peter Holm
f322816aaf
stress2: Added a syzkaller reproducer
2023-08-19 09:28:10 +02:00
Warner Losh
05248206f7
Remove $FreeBSD$: one-line bare tag
...
Remove /^\s*\$FreeBSD\$$\n/
2023-08-16 11:55:20 -06:00
Warner Losh
d0b2dbfa0e
Remove $FreeBSD$: one-line sh pattern
...
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00
Warner Losh
1d386b48a5
Remove $FreeBSD$: one-line .c pattern
...
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
2023-08-16 11:54:42 -06:00
Warner Losh
2a63c3be15
Remove $FreeBSD$: one-line .c comment pattern
...
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
2023-08-16 11:54:29 -06:00
Warner Losh
42b388439b
Remove $FreeBSD$: one-line .h pattern
...
Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
2023-08-16 11:54:23 -06:00
Warner Losh
b3e7694832
Remove $FreeBSD$: two-line .h pattern
...
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
2023-08-16 11:54:16 -06:00
Peter Holm
a953ac19db
stress2: Added a 'fsck_ffs -B' regression test
2023-08-13 11:09:39 +02:00
Peter Holm
896809e296
stress2: Added killpg(2) scenarios
2023-07-31 09:07:06 +02:00
Peter Holm
972e60da74
stress2: Added two syzkaller reproducers
2023-07-11 10:24:19 +02:00
Peter Holm
4631191c8a
stress2: Added a regression test
2023-07-06 11:15:13 +02:00
Marius Strobl
eb33b693b3
test: remove remainder of testfloat
...
These bits are unused since the sparc64-specific glue has been deleted
in f33b14f0
.
2023-06-30 22:43:50 +02:00
Peter Holm
83c701af53
stress2: Added two syzkaller reproducers
2023-06-21 11:10:13 +02:00
Peter Holm
fa273fa154
stress2: Added a regression test for mksnap_ffs(8)
2023-06-13 11:01:43 +02:00
Peter Holm
6b7a06c3bd
stress2: Avoid using "__unused"
2023-06-08 09:49:52 +02:00
Dmitry Chagin
c8dbef44ff
xregs_sig: Add avx registers to test
...
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D40384
2023-06-04 12:07:02 +03:00
Dmitry Chagin
0be13a45f7
xregs_sig: Add a ability to handle multiple register banks
...
While here replace the .global directive by traditionally used .globl.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D40410
2023-06-04 12:06:25 +03:00
Dmitry Chagin
e5b3cd6100
xregs_sig: Simplify Makefile by using MACHINE_CPUARCH in SRCS
...
Reviewed by: kib, jhb
Differential Revision: https://reviews.freebsd.org/D40383
2023-06-03 20:13:23 +03:00