Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e33ff7
)
b=21962 Quote the error message in results.yaml
author
Manoj Joseph
<Manoj.Joseph@sun.com>
Thu, 29 Apr 2010 03:27:20 +0000
(21:27 -0600)
committer
Robert Read
<robert.read@oracle.com>
Thu, 29 Apr 2010 18:12:41 +0000
(11:12 -0700)
Quote and escape the error message in results.yaml
i=robert.read
i=nicolas.williams
lustre/tests/yaml.sh
patch
|
blob
|
history
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() {