<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests/test_helpers, branch v1.7-beta1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7-beta1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7-beta1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2019-01-03T17:24:05+00:00</updated>
<entry>
<title>Omit syscall.O_RDONLY flag when passing O_PATH.</title>
<updated>2019-01-03T17:24:05+00:00</updated>
<author>
<name>Sebastian Lackner</name>
</author>
<published>2019-01-03T17:11:07+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a1ba4b6576695a3e680364813425ffd9c9c7c148'/>
<id>urn:sha1:a1ba4b6576695a3e680364813425ffd9c9c7c148</id>
<content type='text'>
When O_PATH is specified in flags, flag bits other than O_CLOEXEC, O_DIRECTORY,
and O_NOFOLLOW are ignored.
</content>
</entry>
<entry>
<title>tests: allow one extra fd in fd leak detector (dirCache)</title>
<updated>2019-01-03T14:38:51+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-03T14:38:51+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=bb9884549bab29e73dd0a7cb98ed7e8422796306'/>
<id>urn:sha1:bb9884549bab29e73dd0a7cb98ed7e8422796306</id>
<content type='text'>
The gocryptfs process may keep one fd open for up to one second
in the dirCache.
</content>
</entry>
<entry>
<title>nametransform: simplify WriteDirIV to WriteDirIVAt</title>
<updated>2019-01-03T14:31:13+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-03T12:32:13+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f6dad8d0fae25b5d88ad036b841fea10b7296ccb'/>
<id>urn:sha1:f6dad8d0fae25b5d88ad036b841fea10b7296ccb</id>
<content type='text'>
Un-spaghettify the function and let the callers open
the directory.
</content>
</entry>
<entry>
<title>tests: retry longer when we see a fd leak</title>
<updated>2019-01-02T20:03:26+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-02T20:03:26+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=59f1300591d44b1e5d8187b54951c03d6120289f'/>
<id>urn:sha1:59f1300591d44b1e5d8187b54951c03d6120289f</id>
<content type='text'>
Hopefully gets rid of the false positives on travis.
</content>
</entry>
<entry>
<title>tests: add fd leak retry logic to UnmountErr, really return error</title>
<updated>2019-01-02T00:09:09+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-02T00:09:09+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=772afa93f98aa77959995e42564b898057c59b87'/>
<id>urn:sha1:772afa93f98aa77959995e42564b898057c59b87</id>
<content type='text'>
Give the gocryptfs process one extra millisecond to close
files. Allows us to drop several other sleeps.

UnmountErr now really returns an error when it detects an fd leak
instead of just printing a message.
</content>
</entry>
<entry>
<title>tests: ListFds(): filter out pipe and eventpoll fds</title>
<updated>2019-01-01T23:09:17+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-01T22:57:44+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d5a74d2a3e1f1203fd9adeb669c122631438cb31'/>
<id>urn:sha1:d5a74d2a3e1f1203fd9adeb669c122631438cb31</id>
<content type='text'>
These are created on demand by the Go runtime and are usually
not interesting.
</content>
</entry>
<entry>
<title>tests: make MountInfo field accessible</title>
<updated>2019-01-01T23:09:17+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-01T22:01:06+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=b1819143c54f2ba4ccfa8c8a4a257028248f75a4'/>
<id>urn:sha1:b1819143c54f2ba4ccfa8c8a4a257028248f75a4</id>
<content type='text'>
Tests outside the test_helpers package may want to look
at this.
</content>
</entry>
<entry>
<title>tests: ListFds: show r/w status</title>
<updated>2019-01-01T21:27:40+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-01T21:27:40+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=035834dd5115cf5384e61dccfd2acc488990468f'/>
<id>urn:sha1:035834dd5115cf5384e61dccfd2acc488990468f</id>
<content type='text'>
Also, drop entries that disappear while we stat them.
</content>
</entry>
<entry>
<title>tests: split mount_unmount.go from helpers.go</title>
<updated>2019-01-01T21:27:10+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-01T21:04:36+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e276e255dc7d88099f35c890b704ce64117f731e'/>
<id>urn:sha1:e276e255dc7d88099f35c890b704ce64117f731e</id>
<content type='text'>
With the FD leak logic, the mount/unmount functions have
become complex enough to give them their own file.
</content>
</entry>
<entry>
<title>tests: detect fd leaks on unmount</title>
<updated>2019-01-01T21:01:49+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-01-01T21:01:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=10de105c13e4ef512fe83b8c1074fc453f3e70ff'/>
<id>urn:sha1:10de105c13e4ef512fe83b8c1074fc453f3e70ff</id>
<content type='text'>
For now, this only prints a message but does not fail the tests.
</content>
</entry>
</feed>
