mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 06:28:05 +02:00
dhcp: fix test for out-of-tree build
New files must be written to the build directory, not to the source
one.
Fixes: 5ee2f3d1dc ('dhcp/tests: refactor tests for nm_dhcp_dhclient_save_duid()')
This commit is contained in:
parent
4509c303fa
commit
2c056cf9a3
1 changed files with 1 additions and 1 deletions
|
|
@ -904,7 +904,7 @@ _check_duid_impl(const guint8 *duid_bin,
|
|||
gs_free_error GError *error = NULL;
|
||||
gs_free char *contents = NULL;
|
||||
gboolean success;
|
||||
const char *path = NM_BUILD_SRCDIR "/src/core/dhcp/tests/check-duid.lease";
|
||||
const char *path = NM_BUILD_BUILDDIR "/src/core/dhcp/tests/check-duid.lease";
|
||||
gs_unref_bytes GBytes *duid = NULL;
|
||||
gsize contents_len;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue