sd-activation test: Use a struct for the test context
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 14 Feb 2017 12:31:24 +0000 (12:31 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 20 Feb 2017 12:52:10 +0000 (12:52 +0000)
commit84c8403197c95272a7112eb1fddb84ad2b7474be
tree5762951dcd45cfce4737b9d5b4dc75c1696fe265
parent515223735ec7af8a4f6a43ef97cf748a1086b412
sd-activation test: Use a struct for the test context

This is going to be necessary to be able to influence setup() and
teardown() as well as just the individual tests.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99825
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
test/sd-activation.c