<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests/test_helpers, 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-08-11T20:37:22+00:00</updated>
<entry>
<title>tests: VerifyExistence: panic on inconsistent results</title>
<updated>2018-08-11T20:37:22+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-08-11T20:37:22+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=06f1ea951b03b4a0e8f6090c6657b8e0238da271'/>
<id>urn:sha1:06f1ea951b03b4a0e8f6090c6657b8e0238da271</id>
<content type='text'>
In the past we did not check whether all methods of checking
the file return the same result. We should.
</content>
</entry>
<entry>
<title>main: accept -dev, -nodev, -suid, -nosuid, -exec, -noexec</title>
<updated>2018-06-07T20:50:30+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-06-07T20:50:30+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=53d6a9999dd0e4c31636d16179f284fff35a35d9'/>
<id>urn:sha1:53d6a9999dd0e4c31636d16179f284fff35a35d9</id>
<content type='text'>
When mounted via /etc/fstab like this,

  /a /b fuse.gocryptfs default 0 0

we always get extra options passed. As reported by @mahkoh
at https://github.com/rfjakob/gocryptfs/pull/233 :

  mount passes `-o noexec` if `-o user` is set and `-o exec` is not set.
  If both `-o user` and `-o exec` are set, it passes `-o exec`.

Make these options work, and in addtion, also make -suid and -rw
work the same way.

Reported-by: @mahkoh
</content>
</entry>
<entry>
<title>tests: helpers: fix a few error reports</title>
<updated>2018-04-27T18:19:51+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-04-27T18:19:51+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=996d2f141b2c4f0cb9b8fbf66d06a2fb6e8cbaef'/>
<id>urn:sha1:996d2f141b2c4f0cb9b8fbf66d06a2fb6e8cbaef</id>
<content type='text'>
These were using stale err values.
</content>
</entry>
<entry>
<title>Fix the easy golint warnings</title>
<updated>2018-04-08T18:26:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-04-08T18:24:29+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=bcc8378a2c07476a43c1fe316b79590177ded3d3'/>
<id>urn:sha1:bcc8378a2c07476a43c1fe316b79590177ded3d3</id>
<content type='text'>
Reported by https://goreportcard.com/report/github.com/rfjakob/gocryptfs
</content>
</entry>
<entry>
<title>tests: retry umount</title>
<updated>2018-04-08T18:09:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-04-08T18:09:05+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=cab0cda449c831d1d5bb9b75452428c186079799'/>
<id>urn:sha1:cab0cda449c831d1d5bb9b75452428c186079799</id>
<content type='text'>
Gnome may still have files open causing spurious test
failures.
</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>fsck: add initial implementation</title>
<updated>2018-04-02T14:38:18+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-04-01T19:23:32+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f28d85fad599ffaef9a8e1f353911c81a6605d2f'/>
<id>urn:sha1:f28d85fad599ffaef9a8e1f353911c81a6605d2f</id>
<content type='text'>
Most corruption cases except xattr should be covered.
With test filesystem.

The output is still pretty ugly. xattr support will
be added in the next commits.
</content>
</entry>
<entry>
<title>test_helpers: add SwitchTestParentDir</title>
<updated>2018-03-24T20:40:11+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-03-24T20:37:41+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f20974c4dad913a07ce5808005fe07084f87c95f'/>
<id>urn:sha1:f20974c4dad913a07ce5808005fe07084f87c95f</id>
<content type='text'>
SwitchTestParentDir changes testParentDir. This is used when you want
to perform tests on a special filesystem. For example, the xattr tests
cannot run on tmpfs and use /var/tmp instead of /tmp.
</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>test_helpers: add missing newline</title>
<updated>2018-03-05T22:06:27+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2018-03-05T22:06:27+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=35192abb57636a8c4d6a6419aa6fd43f04ac2385'/>
<id>urn:sha1:35192abb57636a8c4d6a6419aa6fd43f04ac2385</id>
<content type='text'>
</content>
</entry>
</feed>
