diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-26 16:18:16 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-27 13:25:55 +0100 |
commit | 6bedfcbb2970e06a4d3280c8fb62083d252ede73 (patch) | |
tree | 89f9202e924f566b45931a88bb06b01ff5daa0eb /src/test | |
parent | f47fc3ffc4b69a00083a76308f777b52afb8efbf (diff) |
util-lib: split string parsing related calls from util.[ch] into parse-util.[ch]
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-btrfs.c | 1 | ||||
-rw-r--r-- | src/test/test-cap-list.c | 8 | ||||
-rw-r--r-- | src/test/test-cgroup-util.c | 1 | ||||
-rw-r--r-- | src/test/test-fileio.c | 1 | ||||
-rw-r--r-- | src/test/test-util.c | 3 |
5 files changed, 10 insertions, 4 deletions
diff --git a/src/test/test-btrfs.c b/src/test/test-btrfs.c index afe3ff8fc2..33356f8387 100644 --- a/src/test/test-btrfs.c +++ b/src/test/test-btrfs.c @@ -25,6 +25,7 @@ #include "fd-util.h" #include "fileio.h" #include "log.h" +#include "parse-util.h" #include "string-util.h" #include "util.h" diff --git a/src/test/test-cap-list.c b/src/test/test-cap-list.c index 43a2d35b80..5f17868458 100644 --- a/src/test/test-cap-list.c +++ b/src/test/test-cap-list.c @@ -19,11 +19,13 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ -#include "util.h" -#include "fileio.h" +#include <sys/prctl.h> + #include "cap-list.h" #include "capability.h" -#include <sys/prctl.h> +#include "fileio.h" +#include "parse-util.h" +#include "util.h" /* verify the capability parser */ static void test_cap_list(void) { diff --git a/src/test/test-cgroup-util.c b/src/test/test-cgroup-util.c index 7bf59a0aa2..af8d478fa9 100644 --- a/src/test/test-cgroup-util.c +++ b/src/test/test-cgroup-util.c @@ -22,6 +22,7 @@ #include "cgroup-util.h" #include "fd-util.h" #include "formats-util.h" +#include "parse-util.h" #include "process-util.h" #include "string-util.h" #include "test-helper.h" diff --git a/src/test/test-fileio.c b/src/test/test-fileio.c index a40f013491..1c1fed4660 100644 --- a/src/test/test-fileio.c +++ b/src/test/test-fileio.c @@ -28,6 +28,7 @@ #include "env-util.h" #include "fd-util.h" #include "fileio.h" +#include "parse-util.h" #include "process-util.h" #include "string-util.h" #include "strv.h" diff --git a/src/test/test-util.c b/src/test/test-util.c index c1f8a866af..f42d8f19bb 100644 --- a/src/test/test-util.c +++ b/src/test/test-util.c @@ -39,14 +39,15 @@ #include "fileio.h" #include "io-util.h" #include "mkdir.h" +#include "parse-util.h" #include "process-util.h" #include "rm-rf.h" #include "signal-util.h" #include "string-util.h" #include "strv.h" +#include "user-util.h" #include "util.h" #include "virt.h" -#include "user-util.h" static void test_streq_ptr(void) { assert_se(streq_ptr(NULL, NULL)); |