summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-10-24 13:53:26 -0600
committerJens Axboe <axboe@kernel.dk>2019-10-24 13:53:26 -0600
commit5a9ab8de4cc71d1639fb19cd1cdf8b2067470c08 (patch)
treeeb332a4830e498201fdff20d0e77029c6e2e289c
parentd974c9fbe63497604335b07611bb73d734fcec94 (diff)
downloadliburing-5a9ab8de4cc71d1639fb19cd1cdf8b2067470c08.tar.gz
liburing-5a9ab8de4cc71d1639fb19cd1cdf8b2067470c08.tar.bz2
test/runtests.sh: only log first test to have alive workers on exit
We still collect all of them, but no point spewing during the run. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rwxr-xr-xtest/runtests.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/runtests.sh b/test/runtests.sh
index 5b2ee27..1595442 100755
--- a/test/runtests.sh
+++ b/test/runtests.sh
@@ -31,7 +31,9 @@ for t in $TESTS; do
ps aux | grep "\[io_wq_manager\]" > /dev/null
R="$?"
if [ "$R" -eq 0 ]; then
- echo "Test $t has alive workers?!"
+ if [ -z "$MAYBE_FAILED" ]; then
+ echo "Test $t has alive workers after exit?!"
+ fi
MAYBE_FAILED="$MAYBE_FAILED $t"
fi
fi