]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix out-of-tree mem_test
authorColin Vidal <colin@isc.org>
Fri, 28 Mar 2025 11:55:49 +0000 (12:55 +0100)
committerColin Vidal <colin@isc.org>
Fri, 28 Mar 2025 12:29:22 +0000 (13:29 +0100)
commitb7ae514b3b48b2a8a75729a6621ca36a37c530f8
tree40f65095d8d410345cf67893b942b03a88ff5f7d
parentc42c6acd4626f8d17b8f8b86601eb2dd3f5fae19
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.
tests/isc/mem_test.c