summaryrefslogtreecommitdiff
path: root/src/test/test-process-util.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-07-31 22:01:43 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-07-31 22:06:09 -0400
commitce5fcc695e3c74599c6b8ab0d6160edf7dc41ebc (patch)
tree21b3d1751b3f7175b969e96153913c7322816425 /src/test/test-process-util.c
parent6d1e2ddd59f929ce98e400cb14fba7a873e2b409 (diff)
parent4dd4cb8fe40baea007336a346ec2aa645890eec3 (diff)
Merge pull request 3821 from davide125/fix-tests
Diffstat (limited to 'src/test/test-process-util.c')
-rw-r--r--src/test/test-process-util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test-process-util.c b/src/test/test-process-util.c
index 562ad4acb8..9ada46b1e9 100644
--- a/src/test/test-process-util.c
+++ b/src/test/test-process-util.c
@@ -40,6 +40,7 @@
#include "stdio-util.h"
#include "string-util.h"
#include "terminal-util.h"
+#include "test-helper.h"
#include "util.h"
#include "virt.h"
@@ -357,7 +358,7 @@ int main(int argc, char *argv[]) {
(void) parse_pid(argv[1], &pid);
test_get_process_comm(pid);
} else {
- test_get_process_comm(1);
+ TEST_REQ_RUNNING_SYSTEMD(test_get_process_comm(1));
test_get_process_comm(getpid());
}