]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/vsock: avoid false-positives when checking dmesg
authorBobby Eshleman <bobbyeshleman@meta.com>
Wed, 5 Nov 2025 15:59:19 +0000 (07:59 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 6 Nov 2025 15:34:50 +0000 (07:34 -0800)
commit3534e03e0ec2e00908765549828a69df5ebefb91
tree30e2ed4397e0824e8e90a3a225d49a1390dd1f8b
parent13fef4fb0536c80e8c4a77e69fe0b5deeb7c331b
selftests/vsock: avoid false-positives when checking dmesg

Sometimes VMs will have some intermittent dmesg warnings that are
unrelated to vsock. Change the dmesg parsing to filter on strings
containing 'vsock' to avoid false positive failures that are unrelated
to vsock. The downside is that it is possible for some vsock related
warnings to not contain the substring 'vsock', so those will be missed.

Fixes: a4a65c6fe08b ("selftests/vsock: add initial vmtest.sh for vsock")
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Bobby Eshleman <bobbyeshleman@meta.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://patch.msgid.link/20251105-vsock-vmtest-dmesg-fix-v2-1-1a042a14892c@meta.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/vsock/vmtest.sh