From 2f040352102b527f0c6edd197415047e29037a57 Mon Sep 17 00:00:00 2001 From: kevans Date: Thu, 10 Sep 2020 17:58:24 +0000 Subject: [PATCH] Fix the build after r365592 r365592 accidentally mixed atf-c and atf-sh; convert atf_skip -> atf_tc_skip --- tests/sys/kern/memfd_test.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/sys/kern/memfd_test.c b/tests/sys/kern/memfd_test.c index 844025c2db1..f0b8d5c2e64 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); -- 2.45.0