svn commit: r330222 - stable/11/tests/sys/aio
Eitan Adler
eadler at FreeBSD.org
Thu Mar 1 06:54:04 UTC 2018
Author: eadler
Date: Thu Mar 1 06:54:03 2018
New Revision: 330222
URL: https://svnweb.freebsd.org/changeset/base/330222
Log:
MFC r319590:
Modified:
stable/11/tests/sys/aio/aio_test.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/tests/sys/aio/aio_test.c
==============================================================================
--- stable/11/tests/sys/aio/aio_test.c Thu Mar 1 06:53:37 2018 (r330221)
+++ stable/11/tests/sys/aio/aio_test.c Thu Mar 1 06:54:03 2018 (r330222)
@@ -336,7 +336,7 @@ aio_file_test(completion comp, struct sigevent *sev)
ATF_REQUIRE_KERNEL_MODULE("aio");
ATF_REQUIRE_UNSAFE_AIO();
- fd = open(FILE_PATHNAME, O_RDWR | O_CREAT);
+ fd = open(FILE_PATHNAME, O_RDWR | O_CREAT, 0600);
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
aio_context_init(&ac, fd, fd, FILE_LEN);
@@ -806,7 +806,7 @@ ATF_TC_BODY(aio_large_read_test, tc)
len = INT_MAX;
#endif
- fd = open(FILE_PATHNAME, O_RDWR | O_CREAT);
+ fd = open(FILE_PATHNAME, O_RDWR | O_CREAT, 0600);
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
unlink(FILE_PATHNAME);
@@ -1060,7 +1060,7 @@ ATF_TC_BODY(aio_fsync_test, tc)
ATF_REQUIRE_KERNEL_MODULE("aio");
ATF_REQUIRE_UNSAFE_AIO();
- fd = open(FILE_PATHNAME, O_RDWR | O_CREAT);
+ fd = open(FILE_PATHNAME, O_RDWR | O_CREAT, 0600);
ATF_REQUIRE_MSG(fd != -1, "open failed: %s", strerror(errno));
unlink(FILE_PATHNAME);
More information about the svn-src-stable-11
mailing list