]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
generic/310: cleanup killing background processes
authorDave Chinner <dchinner@redhat.com>
Tue, 26 Nov 2024 21:00:57 +0000 (08:00 +1100)
committerZorro Lang <zlang@kernel.org>
Sun, 8 Dec 2024 14:13:25 +0000 (22:13 +0800)
commitf53e2256b9028bdc77893f5efc7406a09f057a8f
tree1b047c32f1670b817e8afe8229a59afcc3d1609e
parent000813899afb46c7be32bb34419efacb3d8b675b
generic/310: cleanup killing background processes

Use the trick we used with fsstress of copying the binary to a test
specific name so that we can simply use pkill to reliably kill the
background processes this test runs. Also use SIGPIPE to avoid
bash from throwing out "Killed" errors.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Zorro lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/310