mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix the build after r365592
r365592 accidentally mixed atf-c and atf-sh; convert atf_skip -> atf_tc_skip
This commit is contained in:
parent
ac29e8a94f
commit
4d6265e3e4
1 changed files with 5 additions and 5 deletions
|
|
@ -44,7 +44,7 @@ ATF_TC_BODY(basic, tc)
|
|||
char buf[8];
|
||||
|
||||
if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
|
||||
atf_skip "https://bugs.freebsd.org/249236"
|
||||
atf_tc_skip("https://bugs.freebsd.org/249236");
|
||||
|
||||
ATF_REQUIRE((fd = memfd_create("...", 0)) != -1);
|
||||
|
||||
|
|
@ -103,7 +103,7 @@ ATF_TC_BODY(write_seal, tc)
|
|||
char *addr, buf[BUF_SIZE];
|
||||
|
||||
if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
|
||||
atf_skip "https://bugs.freebsd.org/249236"
|
||||
atf_tc_skip("https://bugs.freebsd.org/249236");
|
||||
|
||||
ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1);
|
||||
ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0);
|
||||
|
|
@ -135,7 +135,7 @@ ATF_TC_BODY(mmap_write_seal, tc)
|
|||
char *addr, *paddr, *raddr;
|
||||
|
||||
if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
|
||||
atf_skip "https://bugs.freebsd.org/249236"
|
||||
atf_tc_skip("https://bugs.freebsd.org/249236");
|
||||
|
||||
ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1);
|
||||
ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0);
|
||||
|
|
@ -203,7 +203,7 @@ ATF_TC_BODY(truncate_seals, tc)
|
|||
{
|
||||
|
||||
if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
|
||||
atf_skip "https://bugs.freebsd.org/249236"
|
||||
atf_tc_skip("https://bugs.freebsd.org/249236");
|
||||
|
||||
ATF_REQUIRE(memfd_truncate_test(4, 8, F_SEAL_GROW) == EPERM);
|
||||
ATF_REQUIRE(memfd_truncate_test(8, 4, F_SEAL_SHRINK) == EPERM);
|
||||
|
|
@ -242,7 +242,7 @@ ATF_TC_BODY(dup_seals, tc)
|
|||
int seals;
|
||||
|
||||
if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
|
||||
atf_skip "https://bugs.freebsd.org/249236"
|
||||
atf_tc_skip("https://bugs.freebsd.org/249236");
|
||||
|
||||
ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1);
|
||||
ATF_REQUIRE((fdx = dup(fd)) != -1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue