+nice ctest -D Experimental -R "^disk:"
+rtn=$?
+i=0
+while [ $i -le 5 ]; do
+ if [ $rtn = 0 ] || [ "$rtn" = "8" ]; then
+ break;
+ fi
+ echo "Submit failed, waiting 5 mins"
+ sleep 300
+ echo "ctest failed re-running Submit"
+ ctest -D ExperimentalSubmit
+ rtn=$?
+ i=`expr $i + 1`
+done