<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests, branch v0.12</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v0.12</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v0.12'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2016-06-16T21:24:32+00:00</updated>
<entry>
<title>tests: adapt for read-only operation</title>
<updated>2016-06-16T21:24:32+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-16T21:24:32+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=4d067e2de1a223d24491be80cdcd7305c44ac062'/>
<id>urn:sha1:4d067e2de1a223d24491be80cdcd7305c44ac062</id>
<content type='text'>
The v0.6 and older example filesystem are mounted read-only
because they are deprecated, so skip the read-write tests.
</content>
</entry>
<entry>
<title>tests: exit with correct error code from TestMain</title>
<updated>2016-06-16T19:56:23+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-16T19:56:23+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=96750a7d3c52b75d13d6f3ed46bd48af28acebcd'/>
<id>urn:sha1:96750a7d3c52b75d13d6f3ed46bd48af28acebcd</id>
<content type='text'>
extpass_test and example_filesystems_test did it wrong,
always returning 0.
</content>
</entry>
<entry>
<title>Add "-ro" (read-only) flag</title>
<updated>2016-06-16T19:29:22+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-16T19:29:22+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=82d87ff8eda1a8e43cda4a5f500fc579477ee606'/>
<id>urn:sha1:82d87ff8eda1a8e43cda4a5f500fc579477ee606</id>
<content type='text'>
From the man page:

  **-ro**
  :      Mount the filesystem read-only

Also add a test.
</content>
</entry>
<entry>
<title>tests: add InitFS helper</title>
<updated>2016-06-16T19:27:01+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-16T19:06:03+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=305e9c1045f0546967bfbd2d10f13a28b6227a76'/>
<id>urn:sha1:305e9c1045f0546967bfbd2d10f13a28b6227a76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>readpassword: create internal package for password reading</title>
<updated>2016-06-15T20:44:24+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-15T20:43:31+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c89455063cfd9c531c0a671251ccfcd46f09403d'/>
<id>urn:sha1:c89455063cfd9c531c0a671251ccfcd46f09403d</id>
<content type='text'>
* Supports stdin
* Add tests for extpass and stdin

As per user request at https://github.com/rfjakob/gocryptfs/issues/30
</content>
</entry>
<entry>
<title>tests: spin off TestPasswd from TestInit</title>
<updated>2016-06-14T21:11:54+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-14T21:11:54+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=218bf83ce399832a0eccfbd025e5dd0399db6bed'/>
<id>urn:sha1:218bf83ce399832a0eccfbd025e5dd0399db6bed</id>
<content type='text'>
Also, capture all stderr and stdout but pass "-q".
This way we get to see error messages if there are any, or
spurious output when there should be none due to "-q".
</content>
</entry>
<entry>
<title>test: add pingpong.bash and pingping-rsync.bash</title>
<updated>2016-06-09T20:20:55+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-08T20:38:14+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=37d824c9a875f71d6184b87794db533c77b0046a'/>
<id>urn:sha1:37d824c9a875f71d6184b87794db533c77b0046a</id>
<content type='text'>
Mounts two gocryptfs filesystems, "ping" and "pong" and moves the
linux-3.0 kernel tree back and forth between them.

When called as "pingpong-rsync.bash" it uses "rsync --remove-source-files"
for moving the files, otherwise plain "mv".
</content>
</entry>
<entry>
<title>fusefrontend: fix chown on dangling symlinks</title>
<updated>2016-06-07T22:32:44+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-07T22:17:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=5da292828c3a58254560bb47d700186ff8c3ca9c'/>
<id>urn:sha1:5da292828c3a58254560bb47d700186ff8c3ca9c</id>
<content type='text'>
We (actually, go-fuse) used to call Chown() instead of Lchown()
which meant that the operation would fail on dangling symlinks.

Fix this by calling os.Lchown() ourself. Also add a test case
for this.
</content>
</entry>
<entry>
<title>tests: rename extractloop.md5sums to linux-3.0.md5sums</title>
<updated>2016-06-07T22:32:44+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-07T21:36:35+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f58a8d8740364467ee9e3cf20cec8d47c4e59ad8'/>
<id>urn:sha1:f58a8d8740364467ee9e3cf20cec8d47c4e59ad8</id>
<content type='text'>
This file will also be used by other tests, so it should
have a generic name.
</content>
</entry>
<entry>
<title>tests: split example_filesystems into its own package</title>
<updated>2016-06-06T22:08:56+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-06T21:57:42+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c2a5303eebc84d616072163f74eef8483c9f5386'/>
<id>urn:sha1:c2a5303eebc84d616072163f74eef8483c9f5386</id>
<content type='text'>
Running these tests from integration_tests' TestMain() was awkward
because they were run twice with unchanged settings.
integration_tests tests everything with OpenSSL and with native
Go crypto, but this does not take affect for the example filesystems.

To make this work, test_helpers is also split into its own package.
</content>
</entry>
</feed>
