Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2020 17:58:24 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365603 - head/tests/sys/kern
Message-ID:  <202009101758.08AHwO4n042522@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Thu Sep 10 17:58:24 2020
New Revision: 365603
URL: https://svnweb.freebsd.org/changeset/base/365603

Log:
  Fix the build after r365592
  
  r365592 accidentally mixed atf-c and atf-sh; convert atf_skip -> atf_tc_skip

Modified:
  head/tests/sys/kern/memfd_test.c

Modified: head/tests/sys/kern/memfd_test.c
==============================================================================
--- head/tests/sys/kern/memfd_test.c	Thu Sep 10 17:53:00 2020	(r365602)
+++ head/tests/sys/kern/memfd_test.c	Thu Sep 10 17:58:24 2020	(r365603)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009101758.08AHwO4n042522>