]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: Rename test_compression to ut_compression
authorSimon Glass <sjg@chromium.org>
Tue, 2 Dec 2014 20:17:34 +0000 (13:17 -0700)
committerTom Rini <trini@ti.com>
Wed, 14 Jan 2015 16:35:43 +0000 (11:35 -0500)
Try to keep the names of the unit test commands consistent.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/compression.c

index 139ea019f24b4bb06a9effb0d01e6700f416a6a0..c4605671986e38e13d618d431cab987c575f7a26 100644 (file)
@@ -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", ""
 );