summaryrefslogtreecommitdiff
path: root/src/test/test-util.c
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2016-03-03 00:08:10 +0100
committerRonny Chevalier <chevalier.ronny@gmail.com>2016-03-03 19:04:06 +0100
commitf55211dbce00fad7cd16fa40d7f7b76448049a86 (patch)
tree1830dd13cb5ac50257aaaf984e5d7a71df32652b /src/test/test-util.c
parent0999c8ade89727ade8dc943711e6d61bcc671ab7 (diff)
downloadsystemd-f55211dbce00fad7cd16fa40d7f7b76448049a86.tar.gz
tests: move conf-parser related tests to test-conf-parser.c
Diffstat (limited to 'src/test/test-util.c')
-rw-r--r--src/test/test-util.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/test-util.c b/src/test/test-util.c
index 30444e122a..7226e9b76f 100644
--- a/src/test/test-util.c
+++ b/src/test/test-util.c
@@ -27,7 +27,6 @@
#include <unistd.h>
#include "alloc-util.h"
-#include "conf-parser.h"
#include "def.h"
#include "fd-util.h"
#include "fileio.h"
@@ -190,14 +189,6 @@ static void test_protect_errno(void) {
assert_se(errno == 12);
}
-static void test_config_parse_iec_uint64(void) {
- uint64_t offset = 0;
- assert_se(config_parse_iec_uint64(NULL, "/this/file", 11, "Section", 22, "Size", 0, "4M", &offset, NULL) == 0);
- assert_se(offset == 4 * 1024 * 1024);
-
- assert_se(config_parse_iec_uint64(NULL, "/this/file", 11, "Section", 22, "Size", 0, "4.5M", &offset, NULL) == 0);
-}
-
static void test_fstab_node_to_udev_node(void) {
char *n;
@@ -487,7 +478,6 @@ int main(int argc, char *argv[]) {
test_div_round_up();
test_u64log2();
test_protect_errno();
- test_config_parse_iec_uint64();
test_fstab_node_to_udev_node();
test_get_files_in_directory();
test_in_set();