test: fix condition test if there are no controllers
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Dec 2017 17:13:23 +0000 (18:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2018 12:58:32 +0000 (13:58 +0100)
commit2767027bb7c6c8c71cf8061fb6beabb4c91cf32f
treefcd59f499a27d39b2b72f84dad6c99cbf8709d46
parent0f08647120031d674075eeba391d2463870f3a6b
test: fix condition test if there are no controllers

As an optimization cg_mask_to_string() returns NULL if there are no
controllers available. We need to handle that.
src/test/test-condition.c