<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests/matrix, branch v1.6</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.6</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.6'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2018-04-07T13:46:41+00:00</updated>
<entry>
<title>tests: cli_test: fix fd leak</title>
<updated>2018-04-07T13:46:41+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-04-07T13:46:41+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9d7392a5be7e21aaaf2fb02f19b421c29e304632'/>
<id>urn:sha1:9d7392a5be7e21aaaf2fb02f19b421c29e304632</id>
<content type='text'>
One fd leak found in TestMountBackground.
</content>
</entry>
<entry>
<title>tests: matrix: check for fd leaks</title>
<updated>2018-04-07T13:24:00+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-04-07T13:21:05+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=22031d7e531985e9e94d694e74fb00da99de72a5'/>
<id>urn:sha1:22031d7e531985e9e94d694e74fb00da99de72a5</id>
<content type='text'>
And fix two in test_helpers.Mount().

Leftover fds can cause an unmount failure like this later:
fusermount: failed to unmount /tmp/gocryptfs-test-parent/873632270/default-plain: Device or resource busy
so try to catch them early.
</content>
</entry>
<entry>
<title>tests: add a few explicit file Close() in matrix_test</title>
<updated>2018-04-01T12:51:07+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-04-01T12:51:07+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6e637f38ffccd8be3d0e025aae53aeb382d99a08'/>
<id>urn:sha1:6e637f38ffccd8be3d0e025aae53aeb382d99a08</id>
<content type='text'>
These can cause EBUSY errors when unmounting.
</content>
</entry>
<entry>
<title>tests: drop "-z" from fusermount to catch forgotten fds</title>
<updated>2018-03-06T20:28:09+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-03-06T20:22:01+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=98f735ff6e05ef71753f1c2fa60c30b195b02d3d'/>
<id>urn:sha1:98f735ff6e05ef71753f1c2fa60c30b195b02d3d</id>
<content type='text'>
macos does not have lazy unmount, so let's not use it
on linux either.
If the unmount fails, run "lsof" to find the open file.

Also fix the first bug we found this way.
</content>
</entry>
<entry>
<title>tests: matrix_test: skip cases when without_openssl is set</title>
<updated>2018-03-05T22:11:27+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-03-05T22:11:27+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=1789a5ea5b5f358eee18f869fb06ca25b3fd7a21'/>
<id>urn:sha1:1789a5ea5b5f358eee18f869fb06ca25b3fd7a21</id>
<content type='text'>
Fixes test-without-openssl.bash.
</content>
</entry>
<entry>
<title>macos: doTestUtimesNano: skip UTIME_OMIT and nanoseconds testcases</title>
<updated>2018-03-05T21:52:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-03-05T21:45:45+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=870779ab1ddd38d21b14460822704b6cf8dc4de6'/>
<id>urn:sha1:870779ab1ddd38d21b14460822704b6cf8dc4de6</id>
<content type='text'>
Not supported on macos.

Beef up the first test case a little by using different second
values.
</content>
</entry>
<entry>
<title>tests: TestUtimesNano: replace ugly compareUtimes wrapper</title>
<updated>2018-03-05T21:22:35+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-03-05T21:22:35+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=426b9536df01ba1229f506842d3948953eefcfc7'/>
<id>urn:sha1:426b9536df01ba1229f506842d3948953eefcfc7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: fix a few fd leaks</title>
<updated>2018-03-05T21:00:59+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-03-05T20:56:30+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=3064d72b9774029ab89daea8a7fccfe181c3cae0'/>
<id>urn:sha1:3064d72b9774029ab89daea8a7fccfe181c3cae0</id>
<content type='text'>
We relied on the finalizer to close a few fds.
For some reason, this did not cause problems on Linux,
but on MacOS, it causes unmount failures:

umount(/private/tmp/gocryptfs-test-parent/194654785/default-plain): Resource busy -- try 'diskutil unmount'
</content>
</entry>
<entry>
<title>macos: skip TestUtimesNanoSymlink early</title>
<updated>2018-03-05T20:36:16+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-03-05T20:32:07+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=aa65091bb9437ad66ba5d09f9acd4c72c66bde87'/>
<id>urn:sha1:aa65091bb9437ad66ba5d09f9acd4c72c66bde87</id>
<content type='text'>
Gets rid of the touch error message upon running the tests.
</content>
</entry>
<entry>
<title>MacOS: skip TestUtimesNanoSymlink and TestUtimesNanoFd</title>
<updated>2018-02-28T19:48:33+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-02-28T19:48:33+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=29496baa707e36d58bf97046a18b8ba0a4fc5bbc'/>
<id>urn:sha1:29496baa707e36d58bf97046a18b8ba0a4fc5bbc</id>
<content type='text'>
These cannot work on MacOS.
</content>
</entry>
</feed>
