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:
Jason St. John 2013-11-08 13:21:46 -05:00 committed by Allan McRae
parent 1645dfd3d1
commit 7bfaa358ea
1 changed files with 1 additions and 1 deletions

View File

@ -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"