torture: Suppress "find" diagnostics from torture.sh --do-none run
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 15 May 2025 23:12:00 +0000 (16:12 -0700)
committerNeeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
Wed, 16 Jul 2025 04:14:04 +0000 (09:44 +0530)
commitce243b71cfef7e44401c8b2ca93cdc206f8393d4
tree2b49aa41ba1ef419629440d462ee0c584b6de12f
parenta883f273431804adfac6048f5e71a041f5626f64
torture: Suppress "find" diagnostics from torture.sh --do-none run

When torture.sh is told to do nothing, it produces a couple of distracting
diagnostics from the "find" command:

find: ‘’: No such file or directory
find: ‘’: No such file or directory

This is pointless chatter and could cause confusion.  This commit therefore
suppresses these diagnostics when there is nothing to find.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
tools/testing/selftests/rcutorture/bin/torture.sh