SHA256
1
0
forked from pool/lua54
lua54/attrib_test.patch
Callum Farmer c91a6c2af6 Accepting request 840775 from home:gmbr3:Lua
- Update to version 5.4.1:
  * Fixes bugs found in Lua 5.4.0
- Removed upstream-bugs.patch: new release (no bugs found yet)

OBS-URL: https://build.opensuse.org/request/show/840775
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=15
2020-10-10 13:13:01 +00:00

12 lines
480 B
Diff

--- a/lua-5.4.1-tests/attrib.lua
+++ b/lua-5.4.1-tests/attrib.lua
@@ -269,7 +269,7 @@ local p = "" -- On Mac OS X, redefine
local st, err, when = package.loadlib(DC"lib1", "*")
if not st then
local f, err, when = package.loadlib("donotexist", p.."xuxu")
- assert(not f and type(err) == "string" and when == "absent")
+ assert(not f and type(err) == "string" and when == "open")
;(Message or print)('\n >>> cannot load dynamic library <<<\n')
print(err, when)
else