Megatest

Diff
Login

Differences From Artifact [3e6695b426]:

To Artifact [7710982a12]:


1





2
3
4
5
6
7
8
#!/bin/bash






# Purpose: run a step, record start and end with exit codes, if sucessful
# update test status with PASS, else update with FAIL
#
# Call like this:
# mt_laststep stepname command ....
# 

>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

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

# Purpose: run a step, record start and end with exit codes, if sucessful
# update test status with PASS, else update with FAIL
#
# Call like this:
# mt_laststep stepname command ....
#