diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2020-10-30 14:46:29 +0100 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2020-12-08 22:56:50 +0000 |
commit | 9cafd342acbcfc4482f7671c9996cd2d87f38fbe (patch) | |
tree | b95065028bafcad668b2a92b6fadc684b8936755 /test/suite_wslua.py | |
parent | c7e6b798255e9d78d88abb84b951ca7815e0f880 (diff) |
Lua: Add get_preference() and set_preference() utility functions.
Support uint, bool, enum, string, range, filename and directory preferences.
Added apply_preferences() to write to file and apply changes.
Diffstat (limited to 'test/suite_wslua.py')
-rw-r--r-- | test/suite_wslua.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/suite_wslua.py b/test/suite_wslua.py index e608954c6b..c230c941a3 100644 --- a/test/suite_wslua.py +++ b/test/suite_wslua.py @@ -83,6 +83,10 @@ class case_wslua(subprocesstest.SubprocessTestCase): '''wslua directory functions''' check_lua_script(self, 'dir.lua', empty_pcap, True) + def test_wslua_util(self, check_lua_script): + '''wslua utility functions''' + check_lua_script(self, 'util.lua', empty_pcap, True) + # Mode_1, mode_2, and mode_3, and fpm were all under wslua_step_dissector_test # in the Bash version. def test_wslua_dissector_mode_1(self, check_lua_script_verify): |