2020-10-10 15:13:01 +02:00
|
|
|
--- a/lua-5.4.1-tests/attrib.lua
|
|
|
|
+++ b/lua-5.4.1-tests/attrib.lua
|
2020-07-06 20:54:24 +02:00
|
|
|
@@ -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
|