summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-26 21:16:26 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:56 +0100
commitf4f15635ec05293ffcc83a5b39f624bbabbd8fd0 (patch)
treea71082ce77e66b48a01a4386e8f36985cc27d3d2 /src/test
parentc8b3094de58e3b1e37d06f3d56c9346cffbe320a (diff)
util-lib: move a number of fs operations into fs-util.[ch]
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-conf-files.c1
-rw-r--r--src/test/test-copy.c1
-rw-r--r--src/test/test-execute.c7
-rw-r--r--src/test/test-path.c3
-rw-r--r--src/test/test-udev.c1
-rw-r--r--src/test/test-util.c1
6 files changed, 10 insertions, 4 deletions
diff --git a/src/test/test-conf-files.c b/src/test/test-conf-files.c
index 30ba5364c4..d00517e929 100644
--- a/src/test/test-conf-files.c
+++ b/src/test/test-conf-files.c
@@ -23,6 +23,7 @@
#include <stdio.h>
#include "conf-files.h"
+#include "fs-util.h"
#include "macro.h"
#include "rm-rf.h"
#include "string-util.h"
diff --git a/src/test/test-copy.c b/src/test/test-copy.c
index 1bd50edca2..4ccf729e80 100644
--- a/src/test/test-copy.c
+++ b/src/test/test-copy.c
@@ -22,6 +22,7 @@
#include "copy.h"
#include "fd-util.h"
#include "fileio.h"
+#include "fs-util.h"
#include "macro.h"
#include "mkdir.h"
#include "path-util.h"
diff --git a/src/test/test-execute.c b/src/test/test-execute.c
index fa6336f1fb..cdbfe6698e 100644
--- a/src/test/test-execute.c
+++ b/src/test/test-execute.c
@@ -19,12 +19,13 @@
#include <stdio.h>
-#include "unit.h"
-#include "manager.h"
-#include "util.h"
+#include "fs-util.h"
#include "macro.h"
+#include "manager.h"
#include "mkdir.h"
#include "rm-rf.h"
+#include "unit.h"
+#include "util.h"
typedef void (*test_function_t)(Manager *m);
diff --git a/src/test/test-path.c b/src/test/test-path.c
index e9e0bfd41d..405434c1ff 100644
--- a/src/test/test-path.c
+++ b/src/test/test-path.c
@@ -20,6 +20,8 @@
#include <stdbool.h>
#include <stdio.h>
+#include "fd-util.h"
+#include "fs-util.h"
#include "macro.h"
#include "manager.h"
#include "mkdir.h"
@@ -28,7 +30,6 @@
#include "strv.h"
#include "unit.h"
#include "util.h"
-#include "fd-util.h"
typedef void (*test_function_t)(Manager *m);
diff --git a/src/test/test-udev.c b/src/test/test-udev.c
index 3b9f71e3a2..219d659b41 100644
--- a/src/test/test-udev.c
+++ b/src/test/test-udev.c
@@ -26,6 +26,7 @@
#include <sys/signalfd.h>
#include <unistd.h>
+#include "fs-util.h"
#include "missing.h"
#include "selinux-util.h"
#include "signal-util.h"
diff --git a/src/test/test-util.c b/src/test/test-util.c
index 2e266bb047..d6fe7cd997 100644
--- a/src/test/test-util.c
+++ b/src/test/test-util.c
@@ -37,6 +37,7 @@
#include "escape.h"
#include "fd-util.h"
#include "fileio.h"
+#include "fs-util.h"
#include "fstab-util.h"
#include "hexdecoct.h"
#include "io-util.h"