diff options
Diffstat (limited to 'android')
-rwxr-xr-x | android/scripts/sd-mmc.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/android/scripts/sd-mmc.sh b/android/scripts/sd-mmc.sh index 81cb5b3..4add54f 100755 --- a/android/scripts/sd-mmc.sh +++ b/android/scripts/sd-mmc.sh @@ -2,7 +2,7 @@ # # SD MMC test cases for Linaro Android # -# Copyright (C) 2013, Linaro Limited. +# Copyright (C) 2010 - 2014, Linaro Limited. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -20,7 +20,7 @@ # # Author: Botao Sun <botao.sun@linaro.org> -function check_return_fail() { +check_return_fail() { if [ $? -ne 0 ]; then fail_test "$1" return 0 @@ -29,12 +29,12 @@ function check_return_fail() { fi } -function fail_test() { +fail_test() { local reason=$1 echo "${TEST}: FAIL - ${reason}" } -function pass_test() { +pass_test() { echo "${TEST}: PASS" } @@ -111,4 +111,4 @@ test_print_df_output test_write_on_sd_card # clean exit so lava-test can trust the results -exit 0
\ No newline at end of file +exit 0 |