test:modify testcase of inserting data

This commit is contained in:
tomchon 2022-05-21 17:42:54 +08:00
parent 2b86dd2274
commit 9f5ac9e55b
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,8 @@ print $data[1][0] $data[1][1] $data[1][2] $data[1][3]
if $rows == 2 then
if $data[1][1] == stop then
goto end_insert
elif $data[0][1] == stop then
goto end_insert
endi
endi
@ -47,6 +49,9 @@ endw
if $loop_cnt == 0 then
print ====> notify main to working for insert data
sql insert into interaction values (now, 'working', 0, 0);
sql select * from interaction
print $data[0][0] $data[0][1] $data[0][2] $data[0][3]
print $data[1][0] $data[1][1] $data[1][2] $data[1][3]
endi
$loop_cnt = $loop_cnt + 1
goto loop_insert