]> git.ipfire.org Git - thirdparty/bind9.git/commit
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)
commitf090709ec3f4a9f5a4c8f97334a21c6f938d9654
tree40f65095d8d410345cf67893b942b03a88ff5f7d
parentc42c6acd4626f8d17b8f8b86601eb2dd3f5fae19
parentb7ae514b3b48b2a8a75729a6621ca36a37c530f8
fix: test: fix out-of-tree mem_test

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