Initial checkin of a testsuite
[mmh] / test / runtest
1 #!/bin/sh
2
3 export MH=`cat test-temp-dir`/mh_profile
4 export MH_TEST_DIR=`cat test-temp-dir`
5 export PATH=$MH_TEST_DIR/bin:$PATH
6
7 /bin/sh $1
8
9 return_value=$?
10
11 if [ $return_value -eq 0 ] ; then
12     echo Test $1 PASS
13 else
14     echo Test $1 FAIL
15 fi