The get_core_dumps.sh script couldn't find and process core files of
out-of-tree configurations because it looked for them in the source
instead of the build directory.
(cherry picked from commit
a13448a76997204ab45edd5912fc3307e67b3036)
systest=$1
status=0
-export SYSTESTDIR="${TOP_SRCDIR}/bin/tests/system/${systest}"
+export SYSTESTDIR="${TOP_BUILDDIR}/bin/tests/system/${systest}"
get_core_dumps() {
find "$SYSTESTDIR/" \( -name 'core' -or -name 'core.*' -or -name '*.core' \) ! -name '*.gz' ! -name '*.txt' | sort