diff options
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | 2023-03-02 04:08:25 +0100 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-03-08 11:40:57 -0800 |
commit | ab40fafe96772581d81aa56a2f3bffd3379baae9 (patch) | |
tree | 989a593e9a164558205884ff52f4a248dde97451 | |
parent | 8f4c9993c05d22ec5ba86c9fb8526ea65b847281 (diff) | |
download | u-boot-ab40fafe96772581d81aa56a2f3bffd3379baae9.zip u-boot-ab40fafe96772581d81aa56a2f3bffd3379baae9.tar.gz u-boot-ab40fafe96772581d81aa56a2f3bffd3379baae9.tar.bz2 |
test: cmd: fdt: Rename fdt_test_resize() to fdt_test_addr_resize()
The 'fdt' command has a 'resize' subcommand, rename the fdt_test_resize()
to fdt_test_addr_resize() to avoid confusion about what it is testing.
There is currently no resize test.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | test/cmd/fdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cmd/fdt.c b/test/cmd/fdt.c index 7974c88..a50285e 100644 --- a/test/cmd/fdt.c +++ b/test/cmd/fdt.c @@ -108,7 +108,7 @@ static int fdt_test_addr(struct unit_test_state *uts) FDT_TEST(fdt_test_addr, UT_TESTF_CONSOLE_REC); /* Test 'fdt addr' resizing an fdt */ -static int fdt_test_resize(struct unit_test_state *uts) +static int fdt_test_addr_resize(struct unit_test_state *uts) { char fdt[256]; const int newsize = sizeof(fdt) / 2; @@ -140,7 +140,7 @@ static int fdt_test_resize(struct unit_test_state *uts) return 0; } -FDT_TEST(fdt_test_resize, UT_TESTF_CONSOLE_REC); +FDT_TEST(fdt_test_addr_resize, UT_TESTF_CONSOLE_REC); /* Test 'fdt get' reading an fdt */ static int fdt_test_get(struct unit_test_state *uts) |