|
@@ -68,6 +68,9 @@ lastline=`tail -n 1 $logfile 2>&1`
|
|
|
if [[ "$lastline" = "FAIL" ]]; then
|
|
if [[ "$lastline" = "FAIL" ]]; then
|
|
|
exit 123
|
|
exit 123
|
|
|
elif [[ "$lastline" = "PASS" ]]; then
|
|
elif [[ "$lastline" = "PASS" ]]; then
|
|
|
|
|
+ echo "./mql $@" 2>/dev/null >> ${keyspace}.history.log
|
|
|
|
|
+ grep "test.code.version=" $logfile 2>/dev/null >> ${keyspace}.history.log
|
|
|
|
|
+ tail -n 4 $logfile | head -n 1 2>/dev/null >> ${keyspace}.history.log
|
|
|
exit 0
|
|
exit 0
|
|
|
elif [[ `echo "$lastline" | grep './mqltest.sh:' | grep "已杀死"` != "" ]]; then
|
|
elif [[ `echo "$lastline" | grep './mqltest.sh:' | grep "已杀死"` != "" ]]; then
|
|
|
exit 99
|
|
exit 99
|