summaryrefslogtreecommitdiff
path: root/test/scripts
diff options
context:
space:
mode:
authorJason St. John <jstjohn@purdue.edu>2013-11-08 13:21:46 -0500
committerAllan McRae <allan@archlinux.org>2013-11-15 11:02:27 +1000
commit7bfaa358ea45c5d527a382bb5fef734b3134bd6f (patch)
tree5025f5835b35729bb9573da74edcc6567941fbc4 /test/scripts
parent1645dfd3d120f26f9d59a952c89ea35514f14992 (diff)
downloadpacman-7bfaa358ea45c5d527a382bb5fef734b3134bd6f.tar.xz
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>
Diffstat (limited to 'test/scripts')
-rwxr-xr-xtest/scripts/human_to_size_test.sh2
1 files changed, 1 insertions, 1 deletions
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"