]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
FreeBSD regtest: add a prereq test to none/tests/freebsd/proc_pid_file
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 12 Sep 2025 07:49:02 +0000 (09:49 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 12 Sep 2025 07:49:02 +0000 (09:49 +0200)
This test only passes if /proc has been mounted. Don't run
the test if there is no /proc.

none/tests/freebsd/proc_pid_file.vgtest

index 0361a5982bf7578c8ff76b6b3daa4f0728de9365..bcbae3ad3f0bf21afb93ad66570e4f57ccd67f3f 100644 (file)
@@ -1,3 +1,4 @@
+prereq: test -d /proc
 prog: proc_pid_file
 vgopts: -q