summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-12-12 14:14:57 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-12-12 14:18:10 +0530
commit8f433f99e5c611dee6a49a096ca1dc52559ed571 (patch)
tree81236b9f2a73e23529d9e5f6a867bbf36c0ae5c0
parente6f63c29e4c943bacef39d8189980088ed317419 (diff)
sh-test-lib: fix fatal error reporting
Change-Id: I4972cb6ed8a8af05b3bde98c75b6899884983de5 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xautomated/lib/sh-test-lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/lib/sh-test-lib b/automated/lib/sh-test-lib
index 95ff3f2..91f6aef 100755
--- a/automated/lib/sh-test-lib
+++ b/automated/lib/sh-test-lib
@@ -7,7 +7,7 @@ error_fatal() {
msg="$1"
[ -z "${msg}" ] && msg="Unknown error"
if which lava-test-raise;then
- lava-test-raise msg
+ lava-test-raise "${msg}"
else
printf "FATAL ERROR: %s\n" "${msg}" >&2
fi