18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#
# Example: copy files
# mt_runstep copy_files cp $frompath $topath
#
# Use a copy_files.logpro file like this:
# (expect:error in "LogFileBody" = 0 "Any err/error/warn/warning" #/(err|warn)/)
#
stepname=$1;shift
# Theoretically could call megatest directly like the following line but
# we'll do each individual step so folks can see what is going on.
#
# $MT_MEGATEST -runstep $stepname -logpro ${stepname}.logpro "$*" || exit $?
# First, register the start of this step
$MT_MEGATEST -step $stepname :state start :status n/a
|
|
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#
# Example: copy files
# mt_runstep copy_files cp $frompath $topath
#
# Use a copy_files.logpro file like this:
# (expect:error in "LogFileBody" = 0 "Any err/error/warn/warning" #/(err|warn)/)
#
stepname=$1;shifttepname"
echo "stepname=$s
# Theoretically could call megatest directly like the following line but
# we'll do each individual step so folks can see what is going on.
#
# $MT_MEGATEST -runstep $stepname -logpro ${stepname}.logpro "$*" || exit $?
# First, register the start of this step
$MT_MEGATEST -step $stepname :state start :status n/a
|