[swift-corelibs-dev] libdispatch Arch Linux

David P Grove groved at us.ibm.com
Mon Aug 15 09:57:56 CDT 2016




Ryan Lovelett <swift-dev at ryan.lovelett.me> wrote on 08/14/2016 05:10:34 PM:
>
> However, the `dispatch_io` test is still failing. I've added the
> test-suite.log once more.
>

Hi Ryan,

	The test that is failing creates a temporary directory, sets it to be
read-only, and then attempts to write into the directory.  It is expecting
the write to fail with errno value EACESS (13).  Instead, the write attempt
is succeeding (errno is 0).

	I'd guess that either you are running the test as root/sudo or the
chmod operation on the temporary directory to make it read-only failed.

--dave


[BEGIN] error from write to write protected directory
	Actual: 0
	Expected: 13	Permission denied
[FAIL] error from write to write protected directory (dispatch_io.c:611)
	dispatch_io.c:611
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20160815/23b9f30a/attachment.html>


More information about the swift-corelibs-dev mailing list