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=22075 buffalo-v2 should detect test timeouts
[fs/lustre-release.git]
/
lustre
/
tests
/
yaml.sh
diff --git
a/lustre/tests/yaml.sh
b/lustre/tests/yaml.sh
index
506a1e7
..
4dbdfe7
100644
(file)
--- a/
lustre/tests/yaml.sh
+++ b/
lustre/tests/yaml.sh
@@
-159,15
+159,20
@@
yml_log_test_status() {
EOF
}
EOF
}
-yml_log_sub_test() {
+yml_log_sub_test
_begin
() {
cat <<EOF
-
name: $1
cat <<EOF
-
name: $1
- status: $2
- duration: $3
- return_code: $4
EOF
EOF
- shift 4
+}
+
+yml_log_sub_test_end() {
+ cat <<EOF
+ status: $1
+ duration: $2
+ return_code: $3
+EOF
+ shift 3
if [ -z "$*" ]; then
printf ' error:\n'
else
if [ -z "$*" ]; then
printf ' error:\n'
else