]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: Remove unnecessary test prefix
authorJan Janssen <medhefgo@web.de>
Sun, 15 Oct 2023 07:39:50 +0000 (09:39 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 15 Oct 2023 11:10:37 +0000 (12:10 +0100)
src/boot/efi/test-efi-string.c
src/test/test-async.c
src/test/test-coredump-util.c
src/test/test-escape.c
src/test/test-fileio.c
src/test/test-proc-cmdline.c

index 8f777c1ce3c3031e2476ccabc0d58cb2fcdcbd89..2ffabe04b85499537215858441fca06dec5de6b4 100644 (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);
index dc0e34b48f7cbb3903935f7432c0c03f30c2545d..b5a4f5904be3a18c036058caa293c12ab89819b3 100644 (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);
 }
 
index 178e89389b1ba9c2bca2e2dc585a9fe6c5d0ebee..4e7f3b434534b8040384653ace1e20a299fcdbcb 100644 (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;
 
index f74f4f590d15fbdc8b80cd888096d5dc44235a35..21786ae72aaa856cbeb07632ab444643da6cdfcd 100644 (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);
 }
index 6efa8f2939a596afdbd3422d69397023e0bfc633..721cdbd5fd3d713d01b2ce54be127cb3ea0422d9 100644 (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;
index 9920462ad53e27d7a38e9c720216370b8bc46235..1d13656f62716c60a7f9152db714a39bfc2776e1 100644 (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);