]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/livepatch: define max test-syscall processes
authorRyan Sullivan <rysulliv@redhat.com>
Thu, 6 Jun 2024 13:53:48 +0000 (09:53 -0400)
committerPetr Mladek <pmladek@suse.com>
Wed, 12 Jun 2024 14:56:30 +0000 (16:56 +0200)
commit46edf5d7aed5438078a8b4b1ab4230a41a032dd0
treee14d5031343bfb9b9e240245efa2b5bdb2d31dca
parent8c06da67d0bd3139a97f301b4aa9c482b9d4f29e
selftests/livepatch: define max test-syscall processes

Define a maximum allowable number of pids that can be livepatched in
test-syscall.sh as with extremely large machines the output from a
large number of processes overflows the dev/kmsg "expect" buffer in
the "check_result" function and causes a false error.

Reported-by: CKI Project <cki-project@redhat.com>
Signed-off-by: Ryan Sullivan <rysulliv@redhat.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Tested-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Acked-by: Joel Savitz <jsavitz@redhat.com>
Link: https://lore.kernel.org/r/20240606135348.4708-1-rysulliv@redhat.com
Signed-off-by: Petr Mladek <pmladek@suse.com>
tools/testing/selftests/livepatch/test-syscall.sh