SHA256
1
0
forked from pool/lua54
lua54/attrib_test.patch
Callum Farmer de2a8a49ea - Update to version 5.4.7:
* Fixed 11 bugs from 5.4.6
  * Tests now run on shared libraries
- Removed skip-tests_big-endian.patch: fixed upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua54?expand=0&rev=92
2024-07-24 11:30:13 +00:00

16 lines
543 B
Diff

---
testes/attrib.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/testes/attrib.lua
+++ b/testes/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