diff options
author | Michael Mann <mmann78@netscape.net> | 2017-11-13 08:27:52 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-11-13 20:27:17 +0000 |
commit | b1302f0f28e8af4f3b3f47bd0a6962e514af7b56 (patch) | |
tree | 596a90738efae9fd84a64ea4a93c3bf869f54bc1 /test | |
parent | 0bba9fb60f832dcc475b0de25e14537d61e11a0f (diff) |
Remove circuit_id from Lua tests
It was removed from packet_info when circuit API was removed. Remove
tests that call circuit_id for testing.
Change-Id: I88e54b288d9d8f99b63e0828663b3025c57e0ec8
Reviewed-on: https://code.wireshark.org/review/24400
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'test')
-rw-r--r-- | test/lua/pinfo.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/lua/pinfo.lua b/test/lua/pinfo.lua index 199e9bcaa5..220bb7d484 100644 --- a/test/lua/pinfo.lua +++ b/test/lua/pinfo.lua @@ -138,7 +138,6 @@ silently accept being set (though nothing happens) Blech!! test("Pinfo.net_dst-set-1",not pcall(setPinfo,pinfo,"net_dst","foobar")) test("Pinfo.src_port-set-1",not pcall(setPinfo,pinfo,"src_port","foobar")) test("Pinfo.dst_port-set-1",not pcall(setPinfo,pinfo,"dst_port","foobar")) - test("Pinfo.circuit_id-set-1",not pcall(setPinfo,pinfo,"circuit_id","foobar")) if major > 1 or minor > 10 then test("Pinfo.can_desegment-set-1",not pcall(setPinfo,pinfo,"can_desegment","foobar")) end @@ -205,7 +204,6 @@ again, these *should* pass, but Pinfo silently allows it! test("Pinfo.net_dst-get-2",typeof(pinfo.net_dst) == "Address") test("Pinfo.src_port-get-1",pinfo.src_port == srcport) test("Pinfo.dst_port-get-1",pinfo.dst_port == dstport) - test("Pinfo.circuit_id-get-1",pinfo.circuit_id == 0) if major > 1 or minor > 10 then test("Pinfo.can_desegment-get-1",pinfo.can_desegment == 0) end @@ -268,9 +266,6 @@ again, these *should* pass, but Pinfo silently allows it! pinfo.src_port = pinfo.dst_port test("Pinfo.src_port-set-1",pinfo.src_port == dstport) - pinfo.circuit_id = 42 - test("Pinfo.circuit_id-set-1",pinfo.circuit_id == 42) - if major > 1 or minor > 10 then pinfo.can_desegment = 12 test("Pinfo.can_desegment-set-1",pinfo.can_desegment == 12) |