From: Paul E. McKenney Date: Thu, 3 Jun 2021 17:45:41 +0000 (-0700) Subject: torture: Enable KCSAN summaries over groups of torture-test runs X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bd0b1f9493b66bc0f734e03806b62cd370d40332;p=linux.git torture: Enable KCSAN summaries over groups of torture-test runs The kcsan-collapse.sh script assumes that it is being run over the output of a single kvm.sh run, which is less than helpful for torture.sh runs. This commit therefore changes the kcsan-collapse.sh script's "ls" pattern with a "find" command to enable a KCSAN summary across all the -kcsan runs in a full torture.sh run. Signed-off-by: Paul E. McKenney --- diff --git a/tools/testing/selftests/rcutorture/bin/kcsan-collapse.sh b/tools/testing/selftests/rcutorture/bin/kcsan-collapse.sh index e5cc6b2f195eb..1af5d6b86b392 100755 --- a/tools/testing/selftests/rcutorture/bin/kcsan-collapse.sh +++ b/tools/testing/selftests/rcutorture/bin/kcsan-collapse.sh @@ -14,7 +14,7 @@ if test -z "$TORTURE_KCONFIG_KCSAN_ARG" then exit 0 fi -cat $1/*/console.log | +find $1 -name console.log -exec cat {} \; | grep "BUG: KCSAN: " | sed -e 's/^\[[^]]*] //' | sort |