Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b=21962 Quote the error message in results.yaml
[fs/lustre-release.git]
/
lustre
/
tests
/
yaml.sh
diff --git
a/lustre/tests/yaml.sh
b/lustre/tests/yaml.sh
index
689f474
..
506a1e7
100644
(file)
--- a/
lustre/tests/yaml.sh
+++ b/
lustre/tests/yaml.sh
@@
-168,8
+168,11
@@
yml_log_sub_test() {
return_code: $4
EOF
shift 4
- printf " error: "
- echo $@
+ if [ -z "$*" ]; then
+ printf ' error:\n'
+ else
+ printf ' error: "%q"\n' "$*"
+ fi
}
yml_log_sub_test_log() {