]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: test: fix out-of-tree mem_test
authorColin Vidal <colin@isc.org>
Fri, 28 Mar 2025 14:51:59 +0000 (14:51 +0000)
committerColin Vidal <colin@isc.org>
Fri, 28 Mar 2025 14:51:59 +0000 (14:51 +0000)
Previously changed mem_test (!10320) introduces a test which checks for
the value of `__FILE__`, which is different if the build is done
out-of-tree or not, even though this is not relevant for the test (only
the base filename is). This result in a broken test for out-of-tree
builds. Fix this by changing the way the "grep" is done in the test,
ignoring the optional path prefix in the filename.

Merge branch 'colin-fix-outoftree-memtest' into 'main'

See merge request isc-projects/bind9!10343


Trivial merge