From 7bfaa358ea45c5d527a382bb5fef734b3134bd6f Mon Sep 17 00:00:00 2001 From: "Jason St. John" Date: Fri, 8 Nov 2013 13:21:46 -0500 Subject: Replace "echo" command with "printf" in human_to_size_test.sh Signed-off-by: Jason St. John Signed-off-by: Allan McRae --- test/scripts/human_to_size_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/scripts/human_to_size_test.sh b/test/scripts/human_to_size_test.sh index cde3ba82..dfa01f72 100755 --- a/test/scripts/human_to_size_test.sh +++ b/test/scripts/human_to_size_test.sh @@ -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" -- cgit v1.2.3-54-g00ecf