@@ -7,18 +7,25 @@ # Purpose: This is for the [ezsteps] secton in your testconfig file. # DO NOT USE IN YOUR SCRIPTS! # # Call like this: -# mt_ezstep stepname command .... +# mt_ezstep stepname prevstepname command .... # stepname=$1;shift +prevstepname=$1;shift + command=$* allstatus=99 runstatus=99 logpropstatus=99 + +prev_env=.ezsteps/${prevstepname}.sh +if [ -e $prev_env ];then + source $prev_env +fi # source the environment from the previous step if it exists # if a logpro file exists then use it otherwise just run the command, nb// was using 2>&1 if [ -e ${stepname}.logpro ];then