diff options
author | Simon Glass <sjg@chromium.org> | 2014-12-02 13:17:34 -0700 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2015-01-14 11:35:43 -0500 |
commit | ac9a215de025c704e9c462a620b6424bea14210f (patch) | |
tree | ee0bd547c671cd092b75cf68e44d74713b292b35 /test/compression.c | |
parent | 081cc197472e72ffa625fc659c03e25d43584eb1 (diff) | |
download | u-boot-imx-ac9a215de025c704e9c462a620b6424bea14210f.zip u-boot-imx-ac9a215de025c704e9c462a620b6424bea14210f.tar.gz u-boot-imx-ac9a215de025c704e9c462a620b6424bea14210f.tar.bz2 |
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>
Diffstat (limited to 'test/compression.c')
-rw-r--r-- | test/compression.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/compression.c b/test/compression.c index 139ea01..c460567 100644 --- a/test/compression.c +++ b/test/compression.c @@ -313,9 +313,8 @@ out: return ret; } - -static int do_test_compression(cmd_tbl_t *cmdtp, int flag, int argc, - char * const argv[]) +static int do_ut_compression(cmd_tbl_t *cmdtp, int flag, int argc, + char *const argv[]) { 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("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; } 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", "" ); |