diff options
Diffstat (limited to 'test/suite-wslua.sh')
-rwxr-xr-x | test/suite-wslua.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/suite-wslua.sh b/test/suite-wslua.sh index 8608c2a0e6..f5b61fdd82 100755 --- a/test/suite-wslua.sh +++ b/test/suite-wslua.sh @@ -408,6 +408,12 @@ wslua_step_globals_test() { cat testout.txt test_step_failed "lua_globals_test test 2 failed" fi + $TSHARK -r $CAPTURE_DIR/empty.pcap -X lua_script:$TESTS_DIR/lua/verify_globals.lua -X lua_script1:$TESTS_DIR/lua/ -X lua_script1:$TESTS_DIR/lua/globals_1.12.txt > testout.txt 2>&1 + grep -q "All tests passed!" testout.txt + if [ $? -ne 0 ]; then + cat testout.txt + test_step_failed "lua_globals_test test 2 failed" + fi test_step_ok } |