git: 8b1d5cbcbeab - main - usr.bin/lockf/tests: Add require.progs="kdump"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Nov 2026 16:14:36 UTC
The branch main has been updated by ngie:
URL: https://cgit.FreeBSD.org/src/commit/?id=8b1d5cbcbeabc3249069855d7c46dae52c6e47ce
commit 8b1d5cbcbeabc3249069855d7c46dae52c6e47ce
Author: Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-11-25 07:57:58 +0000
Commit: Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-11-25 16:14:26 +0000
usr.bin/lockf/tests: Add require.progs="kdump"
This test requires kdump to function today. kdump can be omitted from
the system though via the build knob `MK_KDUMP != 0.
Add the require.progs constraint to check for kdump, so catch this
particular scenario and react accordingly.
MFC after: 1 week
Revision URI: https://reviews.freebsd.org/D62041
---
usr.bin/lockf/tests/lockf_test.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/usr.bin/lockf/tests/lockf_test.sh b/usr.bin/lockf/tests/lockf_test.sh
index 16ee5a03bb9e..346dac89594a 100644
--- a/usr.bin/lockf/tests/lockf_test.sh
+++ b/usr.bin/lockf/tests/lockf_test.sh
@@ -181,6 +181,7 @@ atf_test_case fdlockspin
fdlockspin_head()
{
atf_set "descr" "Don't spin when locking a file descriptor"
+ atf_set "require.progs" "kdump"
}
fdlockspin_body()
{