Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 2020 17:15:45 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365592 - head/tests/sys/kern
Message-ID:  <202009101715.08AHFjKd017484@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Thu Sep 10 17:15:44 2020
New Revision: 365592
URL: https://svnweb.freebsd.org/changeset/base/365592

Log:
  Temporarily skip failing sys.kern.memfd_test.* tests in CI
  
  PR:		249236
  Sponsored by:	The FreeBSD Foundation

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:12:42 2020	(r365591)
+++ head/tests/sys/kern/memfd_test.c	Thu Sep 10 17:15:44 2020	(r365592)
@@ -43,6 +43,9 @@ ATF_TC_BODY(basic, tc)
 	int fd;
 	char buf[8];
 
+	if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
+		atf_skip "https://bugs.freebsd.org/249236"
+
 	ATF_REQUIRE((fd = memfd_create("...", 0)) != -1);
 
 	/* write(2) should grow us out automatically. */
@@ -99,6 +102,9 @@ ATF_TC_BODY(write_seal, tc)
 	int fd;
 	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_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1);
 	ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0);
 
@@ -128,6 +134,9 @@ ATF_TC_BODY(mmap_write_seal, tc)
 	int fd;
 	char *addr, *paddr, *raddr;
 
+	if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
+		atf_skip "https://bugs.freebsd.org/249236"
+
 	ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1);
 	ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0);
 
@@ -193,6 +202,9 @@ ATF_TC_WITHOUT_HEAD(truncate_seals);
 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_REQUIRE(memfd_truncate_test(4, 8, F_SEAL_GROW) == EPERM);
 	ATF_REQUIRE(memfd_truncate_test(8, 4, F_SEAL_SHRINK) == EPERM);
 	ATF_REQUIRE(memfd_truncate_test(8, 4, F_SEAL_GROW) == 0);
@@ -228,6 +240,9 @@ ATF_TC_BODY(dup_seals, tc)
 	char buf[8];
 	int fd, fdx;
 	int seals;
+
+	if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
+		atf_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?202009101715.08AHFjKd017484>