<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>That seems about right. The tests run in a chroot, where the script is root, to ensure that I control dependencies and such.<br></div>
<div><br></div>
<div>Not sure what I I can do about this test. 🤔<br></div>
<div><br></div>
<div>Thanks for the help Dave!<br></div>
<div><br></div>
<div>On Mon, Aug 15, 2016, at 10:57 AM, David P Grove wrote:<br></div>
<blockquote type="cite"><p><div><span class="font" style="font-family:menlo,consolas,"courier new",monospace">Ryan Lovelett <swift-dev@ryan.lovelett.me> wrote on 08/14/2016 05:10:34 PM:</span><br></div>
<div><span class="font" style="font-family:menlo,consolas,"courier new",monospace">> <br>> However, the `dispatch_io` test is still failing. I've added the <br>> test-suite.log once more.</span></div>
<div><span class="font" style="font-family:menlo,consolas,"courier new",monospace">> <br></span></div>
<div><span class="font" style="font-family:menlo,consolas,"courier new",monospace">Hi Ryan,</span><br></div>
<div><br></div>
<div><span class="font" style="font-family:menlo,consolas,"courier new",monospace"> 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). </span><br></div>
<div><br></div>
<div><span class="font" style="font-family:menlo,consolas,"courier new",monospace"> 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.</span><br></div>
<div><br></div>
<div><span class="font" style="font-family:menlo,consolas,"courier new",monospace">--dave</span><br></div>
<div><br></div>
<div><br></div>
<div><span class="font" style="font-family:menlo,consolas,"courier new",monospace">[BEGIN] error from write to write protected directory</span><br></div>
<div><span class="font" style="font-family:menlo,consolas,"courier new",monospace"> Actual: 0 </span><br></div>
<div><span class="font" style="font-family:menlo,consolas,"courier new",monospace"> Expected: 13 Permission denied</span><br></div>
<div><span class="font" style="font-family:menlo,consolas,"courier new",monospace">[FAIL] error from write to write protected directory (dispatch_io.c:611)</span><br></div>
<div><span class="font" style="font-family:menlo,consolas,"courier new",monospace"> dispatch_io.c:611</span><br></div>
</p></blockquote><div><br></div>
</body>
</html>