aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-09-10 17:58:24 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-09-10 17:58:24 +0000
commit4d6265e3e4f811e015a84bd944ca08993e189f97 (patch)
tree0b5c690b18350d53e5aa9bcdc480b8cfbda3c8fc /tests
parentac29e8a94f796923fe0b42ff5eb644e137ba7d77 (diff)
downloadsrc-4d6265e3e4f811e015a84bd944ca08993e189f97.tar.gz
src-4d6265e3e4f811e015a84bd944ca08993e189f97.zip
Fix the build after r365592
r365592 accidentally mixed atf-c and atf-sh; convert atf_skip -> atf_tc_skip
Notes
Notes: svn path=/head/; revision=365603
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/kern/memfd_test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/sys/kern/memfd_test.c b/tests/sys/kern/memfd_test.c
index 844025c2db13..f0b8d5c2e64d 100644
--- a/tests/sys/kern/memfd_test.c
+++ b/tests/sys/kern/memfd_test.c
@@ -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);