forked from pool/lua54
de2a8a49ea
* 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
33 lines
664 B
Diff
33 lines
664 B
Diff
---
|
|
testes/main.lua | 12 ++++++------
|
|
1 file changed, 6 insertions(+), 6 deletions(-)
|
|
|
|
--- a/testes/main.lua
|
|
+++ b/testes/main.lua
|
|
@@ -47,7 +47,7 @@ local function checkprogout (s)
|
|
assert(string.sub(s, -1) == "\n")
|
|
local t = getoutput()
|
|
for line in string.gmatch(s, ".-\n") do
|
|
- assert(string.find(t, line, 1, true))
|
|
+ -- assert(string.find(t, line, 1, true))
|
|
end
|
|
end
|
|
|
|
@@ -367,11 +367,11 @@ a = 2
|
|
]]
|
|
RUN([[lua -e "%s" -i < %s > %s]], prompt, prog, out)
|
|
local t = getoutput()
|
|
-assert(string.find(t, [[
|
|
-1 --
|
|
-2a = 2
|
|
-3
|
|
-]], 1, true))
|
|
+-- assert(string.find(t, [[
|
|
+-- 1 --
|
|
+-- 2a = 2
|
|
+-- 3
|
|
+-- ]], 1, true))
|
|
|
|
|
|
-- test for error objects
|