From 2476d43acf71993031d1363381c754564a8ecd0b Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Wed, 26 Apr 2023 11:21:28 +0200 Subject: [PATCH] Look for core files in $TOP_BUILDDIR 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) --- bin/tests/system/get_core_dumps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/get_core_dumps.sh b/bin/tests/system/get_core_dumps.sh index 8270b410d9..c0759aaa23 100755 --- a/bin/tests/system/get_core_dumps.sh +++ b/bin/tests/system/get_core_dumps.sh @@ -17,7 +17,7 @@ dir=$(dirname "$0") 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