diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:33 +0000 |
commit | 9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9 (patch) | |
tree | 2784370cda9bbf2da9114d70f05399c0b229d28c /test/lua/verify_globals.lua | |
parent | Adding debian version 4.2.6-1. (diff) | |
download | wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.tar.xz wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.zip |
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/lua/verify_globals.lua')
-rw-r--r-- | test/lua/verify_globals.lua | 54 |
1 files changed, 10 insertions, 44 deletions
diff --git a/test/lua/verify_globals.lua b/test/lua/verify_globals.lua index 5e61ffce..c42e70a2 100644 --- a/test/lua/verify_globals.lua +++ b/test/lua/verify_globals.lua @@ -15,61 +15,27 @@ local filter = { -- differences in Lua versions "_VERSION", "package.config", - - -- differences caused by changes in wireshark 1.11 - "NSTime", - "Proto", - 'Listener["<metatable>"].__index', - ".__index" + "utf8.charpattern" -- some versions allow overlong encodings } -- the following items don't have to exist local ignore = { - -- not sure why this was removed in wireshark 1.11, but it was - "TreeItem.set_expert_flags", - - -- in Lua 5.1 only - "debug.getfenv", - "debug.setfenv", - "gcinfo", - "getfenv", - "io.gfind", - "setfenv", - "loadstring", -- call load with a string argument - "math.log10", -- call math.log with second argument - "math.mod", - "module", - "newproxy", - "package.loaders", -- renamed package.searchers - "package.seeall", -- used with module - "string.gfind", - "table.foreach", - "table.foreachi", - "table.getn", - "table.maxn", - "table.setn", - "unpack", -- replaced by table.unpack - - -- in Lua 5.2+ only - "bit32", - "debug.getuservalu", - "debug.setuservalu", - "debug.upvalueid", - "debug.upvaluejoin", - "package.searchers", - "package.searchpath", - "rawlen", - "table.pack", - "table.unpack", - - -- removed in Lua 5.3 + -- deprecated in Lua 5.3, removed in Lua 5.4 + -- but might appear in 5.4 with 5.3 backwards compatibility mode + "bit32", -- 5.3+ has bitwise operators, we include BitOp "math.atan2", -- use math.atan with two arguments "math.cosh", + "math.log10", -- call math.log with second argument "math.sinh", "math.tanh", "math.pow", -- use x^y "math.frexp", "math.ldexp", -- use x * 2.0^exp + + -- new in Lua 5.4 + "coroutine.close", + "debug.setcstacklimit", -- function that existed in 5.4.1, stub-only in 5.4.2+ + "warn" } |