test: Remove unnecessary test prefix

This commit is contained in:
Jan Janssen
2023-10-15 12:10:37 +01:00
committed by Luca Boccassi
parent abcf59970d
commit ec9d3fc51c
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -484,7 +484,7 @@ TEST(parse_number16) {
assert_se(streq16(tail, u"rest"));
}
TEST(test_hexdump) {
TEST(hexdump) {
char16_t *hex;
hex = hexdump(NULL, 0);
+1 -1
View File
@@ -13,7 +13,7 @@
#include "tests.h"
#include "tmpfile-util.h"
TEST(test_asynchronous_sync) {
TEST(asynchronous_sync) {
assert_se(asynchronous_sync(NULL) >= 0);
}
+1 -1
View File
@@ -130,7 +130,7 @@ static void test_parse_auxv_one(
}
}
TEST(test_parse_auxv) {
TEST(parse_auxv) {
_cleanup_free_ char *dir = NULL;
_cleanup_close_ int dir_fd = -EBADF;
+1 -1
View File
@@ -59,7 +59,7 @@ static void test_xescape_full_one(bool eight_bits) {
}
}
TEST(test_xescape_full) {
TEST(xescape_full) {
test_xescape_full_one(false);
test_xescape_full_one(true);
}
+2 -2
View File
@@ -1096,7 +1096,7 @@ static void test_read_virtual_file_one(size_t max_size) {
}
}
TEST(test_read_virtual_file) {
TEST(read_virtual_file) {
test_read_virtual_file_one(0);
test_read_virtual_file_one(1);
test_read_virtual_file_one(2);
@@ -1106,7 +1106,7 @@ TEST(test_read_virtual_file) {
test_read_virtual_file_one(SIZE_MAX);
}
TEST(test_fdopen_independent) {
TEST(fdopen_independent) {
#define TEST_TEXT "this is some random test text we are going to write to a memfd"
_cleanup_close_ int fd = -EBADF;
_cleanup_fclose_ FILE *f = NULL;
+1 -1
View File
@@ -114,7 +114,7 @@ static void test_proc_cmdline_given_one(bool flip_initrd) {
in_initrd_force(!in_initrd());
}
TEST(test_proc_cmdline_given) {
TEST(proc_cmdline_given) {
assert_se(putenv((char*) "SYSTEMD_PROC_CMDLINE=foo_bar=quux wuff-piep=\"tuet \" rd.zumm space='x y z' miepf=\"uuu\"") == 0);
assert_se(putenv((char*) "SYSTEMD_EFI_OPTIONS=miepf=\"uuu\"") == 0);