From 2f38b5f1e2353903ae9930cfab90f24fbdd33700 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Wed, 1 Mar 2023 13:06:55 +0100 Subject: [PATCH] Fxi tests --- tests/lib/lua.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib/lua.c b/tests/lib/lua.c index c48d18c519..35bf95dc1a 100644 --- a/tests/lib/lua.c +++ b/tests/lib/lua.c @@ -301,7 +301,7 @@ ATF_TC_BODY(override, tc) } exit(lua_tonumber(L, -1)); } - atf_utils_wait(p, 0, "[string \"os.execute(\"/usr/bin/true\")\"]:1: os.execute not available\n", ""); + atf_utils_wait(p, 2, "[string \"os.execute(\"/usr/bin/true\")\"]:1: os.execute not available\n", ""); p = atf_utils_fork(); if (p == 0) { @@ -310,7 +310,7 @@ ATF_TC_BODY(override, tc) } exit(lua_tonumber(L, -1)); } - atf_utils_wait(p, 0, "[string \"os.exit(1)\"]:1: os.exit not available\n", ""); + atf_utils_wait(p, 2, "[string \"os.exit(1)\"]:1: os.exit not available\n", ""); int rootfd = open(getcwd(NULL, 0), O_DIRECTORY); lua_pushinteger(L, rootfd);