aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2017-03-16 14:36:19 +0100
committerPeter Wu <peter@lekensteyn.nl>2017-03-16 14:19:55 +0000
commita8478844f35c05f7a2d0f13bce02153f575b5add (patch)
treef6c4f6086c8711210251610b7c98146c01bb0771 /test
parentf7b784c968327b9204f50b0540968dfd286ac8f0 (diff)
downloadwireshark-a8478844f35c05f7a2d0f13bce02153f575b5add.tar.gz
wireshark-a8478844f35c05f7a2d0f13bce02153f575b5add.tar.bz2
wireshark-a8478844f35c05f7a2d0f13bce02153f575b5add.zip
Lua: Run protofield test with tree
Only perform the protofield with a tree. Change-Id: I93caeb505d1138a57c846ea6c295e5a44d72023c Reviewed-on: https://code.wireshark.org/review/20564 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Tested-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'test')
-rwxr-xr-xtest/suite-wslua.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/suite-wslua.sh b/test/suite-wslua.sh
index 49803036eb..c788a7d81c 100755
--- a/test/suite-wslua.sh
+++ b/test/suite-wslua.sh
@@ -341,15 +341,7 @@ wslua_step_protofield_test() {
fi
# Tshark catches lua script failures, so we have to parse the output.
- # perform this twice: once with a tree, once without
$TSHARK -r $CAPTURE_DIR/dns_port.pcap -X lua_script:$TESTS_DIR/lua/protofield.lua -V > testout.txt 2>&1
- grep -q "All tests passed!" testout.txt
- if [ $? -ne 0 ]; then
- cat testout.txt
- test_step_failed "lua_args_test test 1 failed"
- fi
-
- $TSHARK -r $CAPTURE_DIR/dns_port.pcap -X lua_script:$TESTS_DIR/lua/protofield.lua > testout.txt 2>&1
if grep -q "All tests passed!" testout.txt; then
test_step_ok
else