execve_test.com: fix run with landlock make. Cleanup execve/fexecve tests (#755)

This commit is contained in:
Gavin Hayes 2023-03-02 01:32:15 -05:00 committed by GitHub
parent ae365928c5
commit f5520209f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -74,7 +74,7 @@ TEST(execve, ziposELF) {
}
TEST(execve, ziposAPE) {
if (!IsLinux()) {
if (!IsLinux() && !IsFreebsd()) {
EXPECT_EQ(-1, execve("/zip/life-nomod.com", (char *const[]){0},
(char *const[]){0}));
return;