diff options
author | 2021-11-10 07:47:41 -0800 | |
---|---|---|
committer | 2021-11-30 17:30:28 -0800 | |
commit | c06354a121777d3c6c5e60bed9d4f1aae04afd72 (patch) | |
tree | 8af0aabf598e4ab3921220df5a6a499d6b7ef54b /tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh | |
parent | torture: Catch kvm.sh help text up with actual options (diff) | |
download | linux-dev-c06354a121777d3c6c5e60bed9d4f1aae04afd72.tar.xz linux-dev-c06354a121777d3c6c5e60bed9d4f1aae04afd72.zip |
torture: Make kvm-find-errors.sh report link-time undefined symbols
This commit makes kvm-find-errors.sh check for and report undefined
symbols that are detected at link time.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh')
-rwxr-xr-x | tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh b/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh index daf64b507038..2e9e9e2eedb6 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh @@ -30,9 +30,9 @@ editor=${EDITOR-vi} files= for i in ${rundir}/*/Make.out do - if egrep -q "error:|warning:" < $i + if egrep -q "error:|warning:|^ld: .*undefined reference to" < $i then - egrep "error:|warning:" < $i > $i.diags + egrep "error:|warning:|^ld: .*undefined reference to" < $i > $i.diags files="$files $i.diags $i" fi done |