tests: use "/run" instead of "/var/run"

This commit is contained in:
Thomas Haller 2019-05-14 08:59:02 +02:00
parent 80c0dab9c7
commit 10688e3d88
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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;