diff options
author | Thomas Haller <thaller@redhat.com> | 2019-05-14 08:59:02 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-05-17 21:24:18 +0200 |
commit | 10688e3d886eab3395473f8c5858cff552c9a9ad (patch) | |
tree | 84d98a2cb63042d9e7e3c38f9783c6bf2063f500 | |
parent | 80c0dab9c70e5ba4ef46093f986ae321790fbfb6 (diff) | |
download | NetworkManager-10688e3d886eab3395473f8c5858cff552c9a9ad.tar.gz |
tests: use "/run" instead of "/var/run"
-rwxr-xr-x | contrib/scripts/test-macsec | 2 | ||||
-rw-r--r-- | src/platform/tests/test-link.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/scripts/test-macsec b/contrib/scripts/test-macsec index 60f207bb05..93935865f1 100755 --- a/contrib/scripts/test-macsec +++ b/contrib/scripts/test-macsec @@ -46,7 +46,7 @@ ip -n macsec-ns link set macsec-vethp up echo "* Start wpa_supplicant..." cat <<EOF > $TMPDIR/wpa_supplicant.conf -ctrl_interface=/var/run/hostapd1 +ctrl_interface=/run/hostapd1 eapol_version=3 ap_scan=0 fast_reauth=1 diff --git a/src/platform/tests/test-link.c b/src/platform/tests/test-link.c index a0650cc18e..a2e3a6efb1 100644 --- a/src/platform/tests/test-link.c +++ b/src/platform/tests/test-link.c @@ -2765,9 +2765,9 @@ test_netns_push (gpointer fixture, gconstpointer test_data) static void test_netns_bind_to_path (gpointer fixture, gconstpointer test_data) { -#define P_VAR_RUN "/var/run" -#define P_VAR_RUN_NETNS "/var/run/netns" -#define P_VAR_RUN_NETNS_BINDNAME "/var/run/netns/"P_NETNS_BINDNAME +#define P_VAR_RUN "/run" +#define P_VAR_RUN_NETNS "/run/netns" +#define P_VAR_RUN_NETNS_BINDNAME "/run/netns/"P_NETNS_BINDNAME #define P_NETNS_BINDNAME "nmtst-iproute2-netns" gs_unref_object NMPlatform *platform_0 = NULL; gs_unref_object NMPlatform *platform_1 = NULL; |