testsuite: macronify test definitions
diff --git a/testsuite/test-alias.c b/testsuite/test-alias.c
index 2e84e6b..567d676 100644
--- a/testsuite/test-alias.c
+++ b/testsuite/test-alias.c
@@ -56,18 +56,15 @@
return EXIT_SUCCESS;
}
-static const struct test salias_1 = {
- .name = "alias_1",
+static DEFINE_TEST(alias_1,
.description = "check if alias_normalize does the right thing",
- .func = alias_1,
.config = {
[TC_ROOTFS] = TESTSUITE_ROOTFS "test-alias/",
},
.need_spawn = true,
.output = {
.stdout = TESTSUITE_ROOTFS "test-alias/correct.txt",
- },
-};
+ });
static const struct test *tests[] = {
&salias_1,