summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-exec-util.c1
-rw-r--r--src/test/test-locale-util.c1
-rw-r--r--src/test/test-parse-util.c1
-rw-r--r--src/test/test-stat-util.c1
-rw-r--r--src/test/test-string-util.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/test/test-exec-util.c b/src/test/test-exec-util.c
index 118720313..0138af7d8 100644
--- a/src/test/test-exec-util.c
+++ b/src/test/test-exec-util.c
@@ -236,7 +236,6 @@ const gather_stdout_callback_t gather_stdout[] = {
gather_stdout_three,
};
-
static void test_stdout_gathering(void) {
char template[] = "/tmp/test-exec-util.XXXXXXX";
const char *dirs[] = {template, NULL};
diff --git a/src/test/test-locale-util.c b/src/test/test-locale-util.c
index 5008630e0..d26e63346 100644
--- a/src/test/test-locale-util.c
+++ b/src/test/test-locale-util.c
@@ -5,7 +5,6 @@
Copyright 2014 Ronny Chevalier
***/
-
#include "locale-util.h"
#include "macro.h"
#include "strv.h"
diff --git a/src/test/test-parse-util.c b/src/test/test-parse-util.c
index 8209b98c3..e8c12710a 100644
--- a/src/test/test-parse-util.c
+++ b/src/test/test-parse-util.c
@@ -668,7 +668,6 @@ static void test_parse_nice(void) {
assert_se(parse_nice("19", &n) >= 0 && n == 19);
assert_se(parse_nice("+19", &n) >= 0 && n == 19);
-
assert_se(parse_nice("", &n) == -EINVAL);
assert_se(parse_nice("-", &n) == -EINVAL);
assert_se(parse_nice("+", &n) == -EINVAL);
diff --git a/src/test/test-stat-util.c b/src/test/test-stat-util.c
index d3a98ec66..3d8d911ac 100644
--- a/src/test/test-stat-util.c
+++ b/src/test/test-stat-util.c
@@ -49,7 +49,6 @@ static void test_is_symlink(void) {
assert_se(is_symlink(name_link) == 1);
assert_se(is_symlink("/a/file/which/does/not/exist/i/guess") < 0);
-
unlink(name);
unlink(name_link);
}
diff --git a/src/test/test-string-util.c b/src/test/test-string-util.c
index 48e418f48..97f8fde97 100644
--- a/src/test/test-string-util.c
+++ b/src/test/test-string-util.c
@@ -137,7 +137,6 @@ static void test_strrep(void) {
assert_se(streq(zero, ""));
}
-
static void test_strappend(void) {
_cleanup_free_ char *t1, *t2, *t3, *t4;