tests: make sure tests pass when invoked in "sudo"
authorLennart Poettering <lennart@poettering.net>
Wed, 2 Nov 2016 02:30:11 +0000 (20:30 -0600)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Nov 2016 14:55:24 +0000 (08:55 -0600)
commit999a6c5d9c8bc9536f98ce26dde1de5adaabe29b
tree4feaa100cef91806feaacb3875b085525538b637
parent2ca8dc15f9cc050a8845b0a55f8226a7024ca623
tests: make sure tests pass when invoked in "sudo"

This is a follow-up for 6309e51ea32d64524431ee65c49eecd44390da8f and makes sure
we compare test results with the right user identifier.
src/test/test-unit-file.c