[test: add valgrind case]
This commit is contained in:
parent
66400aff66
commit
3ecf6df9e3
|
@ -93,4 +93,7 @@
|
|||
# --- sma
|
||||
./test.sh -f tsim/sma/tsmaCreateInsertData.sim
|
||||
|
||||
# --- valgrind
|
||||
./test.sh -f tsim/valgrind/checkError.sim -v
|
||||
|
||||
#======================b1-end===============
|
||||
|
|
|
@ -71,6 +71,13 @@ print ====> start to check if there are ERRORS in vagrind log file for each dnod
|
|||
# -n : dnode[x] be check
|
||||
system_content sh/checkValgrind.sh -n dnode1
|
||||
print cmd return result----> [ $system_content ]
|
||||
if $system_content != @ERROR SUMMARY: 0 errors@ then
|
||||
return -1
|
||||
if $system_content == @ERROR SUMMARY: 0 errors@ then
|
||||
return 0
|
||||
endi
|
||||
|
||||
$null=
|
||||
if $system_content == $null then
|
||||
return 0
|
||||
endi
|
||||
|
||||
return -1
|
Loading…
Reference in New Issue