[swift-corelibs-dev] libdispatch Arch Linux

Ryan Lovelett swift-dev at ryan.lovelett.me
Mon Aug 15 11:34:12 CDT 2016

That seems about right. The tests run in a chroot, where the script is
root, to ensure that I control dependencies and such.

Not sure what I I can do about this test. 🤔

Thanks for the help Dave!

On Mon, Aug 15, 2016, at 10:57 AM, David P Grove wrote:
> 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/2d9edb61/attachment.html>

More information about the swift-corelibs-dev mailing list