<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests/matrix, branch v1.0</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.0</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.0'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2016-07-11T19:42:40+00:00</updated>
<entry>
<title>tests: matrix: print name in verbose output</title>
<updated>2016-07-11T19:42:40+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-11T19:42:40+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=63def5df5d00252043794153705f393f4377294d'/>
<id>urn:sha1:63def5df5d00252043794153705f393f4377294d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: use unmount wrapper in ResetTmpDir</title>
<updated>2016-07-11T18:41:16+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2016-07-11T18:31:36+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=1c54fcd04bbf274dd5d4300e433bdcb1bb32e1ce'/>
<id>urn:sha1:1c54fcd04bbf274dd5d4300e433bdcb1bb32e1ce</id>
<content type='text'>
This should make it work on OSX.

Also, split unmount into two functions. Depending on what you
want,

* UnmountErr returns the resulting error
* UnmountPanic panics if the error was not nil
</content>
</entry>
<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>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>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>
</feed>
