summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2020-09-11 05:45:27 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2020-09-11 05:45:27 +0000
commite55e20a0e9586a9d85c2e4bd518d9277c077cc3c (patch)
tree6a2497e895dcc386ae5c896cf40f2af516ebd5e8 /tests
parent8b8cf4ece660f8068313c4891bd675c5ef895cf4 (diff)
downloadsrc-test-e55e20a0e9586a9d85c2e4bd518d9277c077cc3c.tar.gz
src-test-e55e20a0e9586a9d85c2e4bd518d9277c077cc3c.zip
Revert r365592 and r365603 as the tests are fixed by r365593
PR: 249236 Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=365625
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/kern/memfd_test.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/sys/kern/memfd_test.c b/tests/sys/kern/memfd_test.c
index f0b8d5c2e64d8..3784c4f0c840b 100644
--- a/tests/sys/kern/memfd_test.c
+++ b/tests/sys/kern/memfd_test.c
@@ -43,9 +43,6 @@ ATF_TC_BODY(basic, tc)
int fd;
char buf[8];
- if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
- atf_tc_skip("https://bugs.freebsd.org/249236");
-
ATF_REQUIRE((fd = memfd_create("...", 0)) != -1);
/* write(2) should grow us out automatically. */
@@ -102,9 +99,6 @@ 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_tc_skip("https://bugs.freebsd.org/249236");
-
ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1);
ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0);
@@ -134,9 +128,6 @@ 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_tc_skip("https://bugs.freebsd.org/249236");
-
ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1);
ATF_REQUIRE(ftruncate(fd, BUF_SIZE) == 0);
@@ -202,9 +193,6 @@ 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_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);
ATF_REQUIRE(memfd_truncate_test(8, 4, F_SEAL_GROW) == 0);
@@ -241,9 +229,6 @@ ATF_TC_BODY(dup_seals, tc)
int fd, fdx;
int seals;
- if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
- atf_tc_skip("https://bugs.freebsd.org/249236");
-
ATF_REQUIRE((fd = memfd_create("...", MFD_ALLOW_SEALING)) != -1);
ATF_REQUIRE((fdx = dup(fd)) != -1);
ATF_REQUIRE(fcntl(fd, F_GET_SEALS) == 0);