1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
usage="mt_ezstep stepname prevstepname command [args ...]"
if [ "$MT_CMDINFO" == "" ];then
echo "ERROR: $0 should be run within a megatest test environment"
echo "Usage: $usage"
exit
fi
# Purpose: This is for the [ezsteps] secton in your testconfig file.
# DO NOT USE IN YOUR SCRIPTS!
#
# Call like this:
# mt_ezstep stepname prevstepname command ....
|
>
>
>
|
|
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
usage="mt_ezstep stepname prevstepname command [args ...]"
if [ "$MT_CMDINFO" == "" ];then
if [ -e megatest.sh ];then
source megatest.sh
else
echo "ERROR: $0 should be run within a megatest test environment"
echo "Usage: $usage"
exit
fi
fi
# Purpose: This is for the [ezsteps] secton in your testconfig file.
# DO NOT USE IN YOUR SCRIPTS!
#
# Call like this:
# mt_ezstep stepname prevstepname command ....
|