]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Look for core files in $TOP_BUILDDIR
authorMichal Nowak <mnowak@isc.org>
Wed, 26 Apr 2023 09:21:28 +0000 (11:21 +0200)
committerMichal Nowak <mnowak@isc.org>
Tue, 30 May 2023 17:41:31 +0000 (19:41 +0200)
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.

bin/tests/system/get_core_dumps.sh

index 8270b410d9fe4f1e4a0b7d4ba88965b4fde2ec53..c0759aaa2334dea5452355151048a35168b8bda5 100755 (executable)
@@ -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