summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 00:42:07 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:57 +0100
commitee104e11e303499a637c5cd8157bd12ad5cc116d (patch)
tree9b5e194fd5e21d476cc60ae5a6dd125608278953 /src/test
parent49cf4170d0b586551527ebf4297f8a3fe6bd71a3 (diff)
user-util: move UID/GID related macros from macro.h to user-util.h
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-cgroup-util.c1
-rw-r--r--src/test/test-conf-files.c1
-rw-r--r--src/test/test-uid-range.c3
3 files changed, 4 insertions, 1 deletions
diff --git a/src/test/test-cgroup-util.c b/src/test/test-cgroup-util.c
index 104f6327be..e4f6d5168d 100644
--- a/src/test/test-cgroup-util.c
+++ b/src/test/test-cgroup-util.c
@@ -27,6 +27,7 @@
#include "process-util.h"
#include "string-util.h"
#include "test-helper.h"
+#include "user-util.h"
#include "util.h"
static void check_p_d_u(const char *path, int code, const char *result) {
diff --git a/src/test/test-conf-files.c b/src/test/test-conf-files.c
index d00517e929..f4b23355fc 100644
--- a/src/test/test-conf-files.c
+++ b/src/test/test-conf-files.c
@@ -28,6 +28,7 @@
#include "rm-rf.h"
#include "string-util.h"
#include "strv.h"
+#include "user-util.h"
#include "util.h"
static void setup_test_dir(char *tmp_dir, const char *files, ...) {
diff --git a/src/test/test-uid-range.c b/src/test/test-uid-range.c
index bc5baa2fcb..9f69d71203 100644
--- a/src/test/test-uid-range.c
+++ b/src/test/test-uid-range.c
@@ -21,8 +21,9 @@
#include <stddef.h>
-#include "util.h"
#include "uid-range.h"
+#include "user-util.h"
+#include "util.h"
int main(int argc, char *argv[]) {
_cleanup_free_ UidRange *p = NULL;