From: Michal Nowak Date: Wed, 26 Apr 2023 09:21:28 +0000 (+0200) Subject: Look for core files in $TOP_BUILDDIR X-Git-Tag: v9.19.14~18^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a13448a76997204ab45edd5912fc3307e67b3036;p=thirdparty%2Fbind9.git 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. --- diff --git a/bin/tests/system/get_core_dumps.sh b/bin/tests/system/get_core_dumps.sh index 8270b410d9f..c0759aaa233 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