]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
rcutorture: Make kvm-find-errors.sh abort on bad directory
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 16 Dec 2019 20:08:31 +0000 (12:08 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 21 Feb 2020 00:03:30 +0000 (16:03 -0800)
commitbeabc806f5aaa158fc90a939215e8b44ee9d7acc
treec3df4985d9aaa2a505472e639ab94eebd355cd9b
parentc0b94ffb66845d13f9ec537a28bd1466b4de2e14
rcutorture: Make kvm-find-errors.sh abort on bad directory

Currently, kvm-find-errors.sh gives a usage prompt when given a bad
directory, but then soldiers on, giving a series of confusing error
messages.  This commit therefore prints an error message and exits when
given a bad directory, hopefully reducing confusion.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh