|
@@ -41,7 +41,9 @@ __tf_default_header() {
|
41
|
41
|
#
|
42
|
42
|
# Create default header
|
43
|
43
|
#
|
44
|
|
- echo "(add $__TF_HDRCMD executable for own header)"
|
|
44
|
+ echo "hint = Add $__TF_HDRCMD executable for own header."
|
|
45
|
+ echo "hint = It should output 'key = value' pairs about"
|
|
46
|
+ echo "hint = your SUT ('version' at least')."
|
45
|
47
|
}
|
46
|
48
|
|
47
|
49
|
__tf_header() {
|
|
@@ -51,12 +53,24 @@ __tf_header() {
|
51
|
53
|
local field
|
52
|
54
|
local hdrcmd="$__TF_HDRCMD"
|
53
|
55
|
test -x "$hdrcmd" || hdrcmd="__tf_default_header"
|
|
56
|
+ tf_think "#"
|
|
57
|
+ tf_think "# [tfkit.sut]"
|
|
58
|
+ tf_think "#"
|
54
|
59
|
$hdrcmd \
|
55
|
60
|
| while read field;
|
56
|
61
|
do
|
57
|
62
|
test -n "$field" || break
|
58
|
|
- tf_think "# $field"
|
|
63
|
+ tf_think "# $field"
|
59
|
64
|
done
|
|
65
|
+ tf_think "#"
|
|
66
|
+ tf_think "# [tfkit.run]"
|
|
67
|
+ tf_think "#"
|
|
68
|
+ tf_think "# start_time = $(date -Iseconds)"
|
|
69
|
+ test "$TF_FILTER_TEST" = '.*' \
|
|
70
|
+ || tf_think "# TF_FILTER_TEST = $TF_FILTER_TEST"
|
|
71
|
+ test "$TF_FILTER_SUBTEST" = '.*' \
|
|
72
|
+ || tf_think "# TF_FILTER_SUBTEST = $TF_FILTER_SUBTEST"
|
|
73
|
+ tf_think "#"
|
60
|
74
|
tf_think ""
|
61
|
75
|
}
|
62
|
76
|
|