3 pre_check=`which agl-test`
5 if [ -n "$pre_check" ] ; then
7 echo "agl-extend-test is present"
9 echo "agl-test is not installed, abort this test"
14 if [ -x ./artiproxy-upload.sh ] ; then
15 LOG_DIR=/var/run/agl-test/logs/log-to-report
16 ZIP_FILE=`ls ${LOG_DIR} | grep agl-test-log*`
18 if [ -z $ZIP_FILE ] ; then
19 echo "Cannot find agl-extend-test log"
23 ./artiproxy-upload.sh $LOG_DIR $ZIP_FILE
24 if [ $? -eq 1 ] ; then
25 echo "Upload of ${ZIP_FILE} failed"
28 echo "Upload of test report successful"
33 echo "The file artiproxy-upload.sh does not exist"