Megatest

Diff
Login

Differences From Artifact [dc6e288c61]:

To Artifact [d882ace026]:


1
2


3
4

5
6
7
8
9
10
11
12
13





14
15
16
17
18
19
20
#!/bin/bash



if [ "$MT_CMDINFO" == "" ];then
  echo "ERROR: $0 should be run within a megatest test environment"

  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 ....
# 





stepname=$1;shift
prevstepname=$1;shift

command=$*

allstatus=99
runstatus=99


>
>


>









>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/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 ....
# 
if [ "x$1" == "x" ];then
  echo "Usage: $usage"
  exit
fi

stepname=$1;shift
prevstepname=$1;shift

command=$*

allstatus=99
runstatus=99