platform/tests: pass platform argument to nmtstp helper functions
authorThomas Haller <thaller@redhat.com>
Mon, 14 Mar 2016 14:23:05 +0000 (15:23 +0100)
committerThomas Haller <thaller@redhat.com>
Tue, 15 Mar 2016 11:56:58 +0000 (12:56 +0100)
commitad345cdf7d2d77c945c8a56aa1349a44963bd876
treeff3835e47f1d40821c60a83174031313fab27957
parent99956991169a55590a9750d2c1ae2e26e22ce38a
platform/tests: pass platform argument to nmtstp helper functions

Make the test helper independent from the platform singleton instance.
That way, we can also use them for other platform instances (e.g. in a
different namespace).
src/devices/tests/test-arping.c
src/devices/tests/test-lldp.c
src/platform/tests/test-common.c
src/platform/tests/test-common.h
src/platform/tests/test-link.c
src/platform/tests/test-route.c