<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests, branch v1.0-rc1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.0-rc1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.0-rc1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2016-07-06T19:06:42+00:00</updated>
<entry>
<title>tests: fix shadow warning</title>
<updated>2016-07-06T19:06:42+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-06T19:06:42+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7f3ede473e52acfb084e01a56f1e777466344fd3'/>
<id>urn:sha1:7f3ede473e52acfb084e01a56f1e777466344fd3</id>
<content type='text'>
"go tool vet -shadow=true" complained about the md5 package
being shadowed by variables called "md5".
Fix by using the Md5hex helper and dropping the md5 import.
</content>
</entry>
<entry>
<title>tests: OSX: cast st.Blksize to int64</title>
<updated>2016-07-04T06:22:05+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-04T06:20:52+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9d17fdb2068a5217ffab260db671c1cc50536e04'/>
<id>urn:sha1:9d17fdb2068a5217ffab260db671c1cc50536e04</id>
<content type='text'>
On Linux, Blksize is already int64. But on OSX
it is int32 and that caused a compile failure.

https://github.com/rfjakob/gocryptfs/issues/15
</content>
</entry>
<entry>
<title>syscallcompat: OSX: add Fallocate and Openat wrappers</title>
<updated>2016-07-03T17:18:34+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-03T17:14:12+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=9b725c15cf50cfb85ec6ec88c47843092775dedc'/>
<id>urn:sha1:9b725c15cf50cfb85ec6ec88c47843092775dedc</id>
<content type='text'>
...and convert all calls to syscall.{Fallocate,Openat}
to syscallcompat .

Both syscalls are not available on OSX. We emulate Openat and just
return EOPNOTSUPP for Fallocate.
</content>
</entry>
<entry>
<title>tests: call umount instead of fusermount on OSX</title>
<updated>2016-07-02T18:06:20+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-02T18:06:20+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d5b7eb33daec612626305c961b7ec6d5eccd79a7'/>
<id>urn:sha1:d5b7eb33daec612626305c961b7ec6d5eccd79a7</id>
<content type='text'>
Reported at https://github.com/rfjakob/gocryptfs/issues/15
</content>
</entry>
<entry>
<title>fusefrontend: add fallocate support</title>
<updated>2016-07-02T17:52:09+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-02T17:43:57+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=54470baa23bf98adde69dc1a074c852ea19127d1'/>
<id>urn:sha1:54470baa23bf98adde69dc1a074c852ea19127d1</id>
<content type='text'>
Mode=0 (default) and mode=1 (keep size) are supported.
The patch includes test cases and the whole thing passed xfstests.

Fixes https://github.com/rfjakob/gocryptfs/issues/1 .
</content>
</entry>
<entry>
<title>fusefrontend: coalesce grows in Truncate()</title>
<updated>2016-07-01T21:32:27+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-01T21:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f2b4d57068d13b6dc3de2ccc6550675d11d34cfa'/>
<id>urn:sha1:f2b4d57068d13b6dc3de2ccc6550675d11d34cfa</id>
<content type='text'>
We were growing the file block-by-block which was pretty
inefficient. We now coalesce all the grows into a single
Ftruncate. Also simplifies the code!

Simplistic benchmark: Before:

  $ time truncate -s 1000M foo
  real	0m0.568s

After:

  $ time truncate -s 1000M foo
  real	0m0.205s
</content>
</entry>
<entry>
<title>test: split up integration_tests</title>
<updated>2016-06-29T22:57:14+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-29T22:57:14+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=02b6d3067d502bcc063965a5a9d75aa693125e1b'/>
<id>urn:sha1:02b6d3067d502bcc063965a5a9d75aa693125e1b</id>
<content type='text'>
...into "matrix" and "normal".

Also:
* Make running multiple packages in parallel safe, see
  http://stackoverflow.com/questions/23715302/go-how-to-run-tests-for-multiple-packages
* Don't depent on test_helper.TmpDir and friends to have a terminating slash
</content>
</entry>
<entry>
<title>tests: run example_filesystems with "-openssl=false" AND "=true"</title>
<updated>2016-06-27T21:43:43+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-27T21:43:43+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=f873d5f0a1a76ba00881cf9813dce8421b99a68d'/>
<id>urn:sha1:f873d5f0a1a76ba00881cf9813dce8421b99a68d</id>
<content type='text'>
Run the tests twice, once with openssl and once with Go crypto.
</content>
</entry>
<entry>
<title>tests: give "-plaintextnames" its own test package</title>
<updated>2016-06-27T19:40:39+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-27T19:39:02+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=2720cd7b0d2711101b841c06e0068d5d3ae1b59e'/>
<id>urn:sha1:2720cd7b0d2711101b841c06e0068d5d3ae1b59e</id>
<content type='text'>
...and add tests for checking that gocryptfs.diriv
does not get created.

The main "integration_tests" package has become quite
big and convoluted over time.

This small separate package should make writing tests
for "-plaintextnames" easier.

As seen in "fusefrontend: fix PlaintextNames versions of Mkdir, Rmdir",
we need more of them.
</content>
</entry>
<entry>
<title>tests: add missing file "example_test_helpers.go"</title>
<updated>2016-06-26T16:34:30+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-06-26T16:34:30+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=1de5ceed586335361baae02160d61400fbf71e15'/>
<id>urn:sha1:1de5ceed586335361baae02160d61400fbf71e15</id>
<content type='text'>
This file was forgotten in commit
"tests: make tests for unsupported FSs more compact".
</content>
</entry>
</feed>
