Replace "echo" command with "printf" in human_to_size_test.sh
Signed-off-by: Jason St. John <jstjohn@purdue.edu> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
1645dfd3d1
commit
7bfaa358ea
|
@ -5,7 +5,7 @@ declare -i testcount=0 fail=0 pass=0 total=15
|
|||
# source the library function
|
||||
lib=${1:-${PMTEST_SCRIPTLIB_DIR}human_to_size.sh}
|
||||
if [[ -z $lib || ! -f $lib ]]; then
|
||||
echo "Bail out! human_to_size library ($lib) could not be located\n"
|
||||
printf "Bail out! human_to_size library (%s) could not be located\n" "${lib}"
|
||||
exit 1
|
||||
fi
|
||||
. "$lib"
|
||||
|
|
Loading…
Reference in New Issue