| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- -- ============================================================
- -- result_check 结果验证测试 (已知新版工具 loop 迭代数据污染)
- -- ============================================================
- -- 1. count(N) - 结果行数检查
- select * from /test/aaa/test_ext where e_name=^'ext'
- /**
- onerror(continue)
- output()
- **/
- ;
- -- 2. count(N) - 精确匹配
- select e_name from /test/aaa/test_ext where e_name='ext_001'
- /**
- onerror(continue)
- output()
- **/
- ;
- -- 3. match(Kn,Mn) 匹配第一行第一列
- select e_name from /test/aaa/test_ext where e_name='ext_001'
- /**
- onerror(continue)
- output()
- **/
- ;
- -- 4. match(Kn,Mn) 匹配第N行第N列
- select e_name, e_value from /test/aaa/test_ext where e_name=^'ext'
- /**
- onerror(continue)
- output()
- **/
- ;
- -- 5. 无验证 action
- select e_name from /test/aaa/test_ext where e_name=^'ext'
- /**
- output()
- **/
- ;
- -- 6. equal(N,F,V) 第N行第F列等于V
- select e_name, e_value from /test/aaa/test_ext where e_name='ext_001'
- /**
- onerror(continue)
- output()
- **/
- ;
- select e_name, e_value from /test/aaa/test_ext where e_name='ext_002'
- /**
- onerror(continue)
- output()
- **/
- ;
|