update case
This commit is contained in:
parent
7a924a11e7
commit
a75137581e
|
@ -24,10 +24,9 @@ function stopTaosd {
|
||||||
|
|
||||||
function dohavecore(){
|
function dohavecore(){
|
||||||
corefile=`find $corepath -mmin 1`
|
corefile=`find $corepath -mmin 1`
|
||||||
|
if [ -n "$corefile" ];then
|
||||||
core_file=`echo $corefile|cut -d " " -f2`
|
core_file=`echo $corefile|cut -d " " -f2`
|
||||||
proc=`file $core_file|awk -F "execfn:" '/execfn:/{print $2}'|tr -d \' |awk '{print $1}'|tr -d \,`
|
proc=`file $core_file|awk -F "execfn:" '/execfn:/{print $2}'|tr -d \' |awk '{print $1}'|tr -d \,`
|
||||||
echo $core_file,$corefile
|
|
||||||
if [ -n "$corefile" ];then
|
|
||||||
echo 'taosd or taos has generated core'
|
echo 'taosd or taos has generated core'
|
||||||
rm case.log
|
rm case.log
|
||||||
if [[ "$tests_dir" == *"$IN_TDINTERNAL"* ]] && [[ $1 == 1 ]]; then
|
if [[ "$tests_dir" == *"$IN_TDINTERNAL"* ]] && [[ $1 == 1 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue