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-...@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
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

Reply via email to