22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
[scripts]
createsteps.sh #!/bin/bash
(for x in $(seq 20);do
echo "step$x sleep $x"
done) > #{getenv MT_RUN_AREA_HOME}/steps.config
[logpro]
(expect:ignore in "LogFileBody" < 99 "Ignore the word error in comments" #/^\/\/.*error/)
(expect:warning in "LogFileBody" = 0 "Any warning" #/warn/)
(expect:error in "LogFileBody" = 0 "Any error" (list #/ERROR/ #/error/)) ;; but disallow any other errors
# Test requirements are specified here
[requirements]
# waiton setup
priority 0
# Iteration for your tests are controlled by the items section
|
|
|
|
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
[scripts]
createsteps.sh #!/bin/bash
(for x in $(seq 20);do
echo "step$x sleep $x"
done) > #{getenv MT_RUN_AREA_HOME}/steps.config
[logpro]
(expect:ignore in "LogFileBody" < 99 "Ignore the word error in comments" #/^\/\/.*error/)
(expect:warning in "LogFileBody" = 0 "Any warning" #/warn/)
(expect:error in "LogFileBody" = 0 "Any error" (list #/ERROR/ #/error/)) ;; but disallow any other errors
# Test requirements are specified here
[requirements]
# waiton setup
priority 0
# Iteration for your tests are controlled by the items section
|