Skip to content

Commit

Permalink
Fxi tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Mar 1, 2023
1 parent b14da2a commit bc006e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/lua.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, 1, "[string \"os.execute(\"/usr/bin/true\")\"]:1: os.execute not available\n", "");

p = atf_utils_fork();
if (p == 0) {
Expand All @@ -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, 1, "[string \"os.exit(1)\"]:1: os.exit not available\n", "");

int rootfd = open(getcwd(NULL, 0), O_DIRECTORY);
lua_pushinteger(L, rootfd);
Expand Down

0 comments on commit bc006e5

Please sign in to comment.