mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 00:38:07 +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()') (cherry picked from commit2c056cf9a3)
This commit is contained in:
parent
af1bbe8bd9
commit
3c5eb108e9
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