blob: ae1f2dd50409ca0b0937370afc56b92725c0a6d7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
# https://bugs.gentoo.org/959269#c4
# make the test compatible with lua-5.1
--- a/unit-tests/check-expect.lua
+++ b/unit-tests/check-expect.lua
@@ -187,4 +187,4 @@ end
for _, fname in ipairs(arg) do
check_mk(fname)
end
-os.exit(not had_errors)
+os.exit((not had_errors) and 0 or 1)
|