mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-07 07:11:35 +00:00
test: Rename test_compression to ut_compression
Try to keep the names of the unit test commands consistent. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
081cc19747
commit
ac9a215de0
1 changed files with 4 additions and 5 deletions
|
@ -313,9 +313,8 @@ out:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int do_ut_compression(cmd_tbl_t *cmdtp, int flag, int argc,
|
||||||
static int do_test_compression(cmd_tbl_t *cmdtp, int flag, int argc,
|
char *const argv[])
|
||||||
char * const argv[])
|
|
||||||
{
|
{
|
||||||
int err = 0;
|
int err = 0;
|
||||||
|
|
||||||
|
@ -324,12 +323,12 @@ static int do_test_compression(cmd_tbl_t *cmdtp, int flag, int argc,
|
||||||
err += run_test("lzma", compress_using_lzma, uncompress_using_lzma);
|
err += run_test("lzma", compress_using_lzma, uncompress_using_lzma);
|
||||||
err += run_test("lzo", compress_using_lzo, uncompress_using_lzo);
|
err += run_test("lzo", compress_using_lzo, uncompress_using_lzo);
|
||||||
|
|
||||||
printf("test_compression %s\n", err == 0 ? "ok" : "FAILED");
|
printf("ut_compression %s\n", err == 0 ? "ok" : "FAILED");
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
U_BOOT_CMD(
|
U_BOOT_CMD(
|
||||||
test_compression, 5, 1, do_test_compression,
|
ut_compression, 5, 1, do_ut_compression,
|
||||||
"Basic test of compressors: gzip bzip2 lzma lzo", ""
|
"Basic test of compressors: gzip bzip2 lzma lzo", ""
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue