]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
FreeBSD regtest: improve filter_arg_check
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 10 Oct 2025 22:32:23 +0000 (00:32 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 10 Oct 2025 22:32:23 +0000 (00:32 +0200)
This was looking for PIDs with 5 digits so the test failed
when the PIDs being used have fewer digits.

memcheck/tests/amd64-freebsd/filter_arg_check

index 334a3266941880ba4b99a4cf58b4f11a34305d0f..c1152cf836065ea14ae999cd81eb5d5bc74d7ee4 100755 (executable)
@@ -18,5 +18,5 @@
 grep "SYSCALL.*sendfile" |
 sed 's/==.*//' |
 awk '{l=length($9);$9="0x"substr($9, l-2, l);print}' |
-sed -E 's/\[[0-9]{5}/[xxxxx/'
+sed -E 's/\[[0-9]+/[xxxxx/'