SHA256
1
0
forked from pool/lua54
lua54/attrib_test.patch
2020-12-05 12:54:20 +00:00

12 lines
486 B
Diff

--- a/lua-@VERSION-tests/attrib.lua
+++ b/lua-@VERSION-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