<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests, branch v1.7.1</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7.1</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v1.7.1'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2019-10-06T20:34:19+00:00</updated>
<entry>
<title>stress_tests: use /var/tmp by default</title>
<updated>2019-10-06T20:34:19+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-10-06T20:34:19+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=65bc006a78c67b8f8cf0b01f8ed948dca6c1e408'/>
<id>urn:sha1:65bc006a78c67b8f8cf0b01f8ed948dca6c1e408</id>
<content type='text'>
There is a good chance that /tmp is tmpfs, and we want to
run our tests on a real filesystem.
</content>
</entry>
<entry>
<title>tests: use /var/tmp by default</title>
<updated>2019-10-06T19:53:20+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-10-06T19:50:27+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8c4429408716d9890a98a48c246d616dbfea7e31'/>
<id>urn:sha1:8c4429408716d9890a98a48c246d616dbfea7e31</id>
<content type='text'>
On Fedora, /tmp is tmpfs, which behaves differently than ext4
(inode numbers are never reused, for example).

Use /var/tmp, which is ext4 on Fedora, to get a more realistic
test environment.

This also allows us to drop the xattr workaround.
</content>
</entry>
<entry>
<title>tests: filter leaked fds by prefix</title>
<updated>2019-10-06T17:37:51+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-10-06T17:04:16+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=1fb18f4a9ef2bbbc6e7c774fa064808a3952bb3f'/>
<id>urn:sha1:1fb18f4a9ef2bbbc6e7c774fa064808a3952bb3f</id>
<content type='text'>
When running

  $ go test ./tests/matrix/

in isolation, it failed like this:

  fd leak? before, after:
  [0r=/dev/null 3w=/dev/null 5r=/proc/8078/fd (hidden:4)]
  [0r=/dev/null 3w=/dev/null 5w=/tmp/go-build366655199/b001/testlog.txt 7r=/proc/8078/fd (hidden:4)]

Filter by prefix to get rid of this spurious test failure.
</content>
</entry>
<entry>
<title>tests: clarify which process seems to be leaking fds</title>
<updated>2019-10-06T16:48:09+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-10-06T16:48:09+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=d361f6e35bb97ef8f060131ea5b29f922e613c49'/>
<id>urn:sha1:d361f6e35bb97ef8f060131ea5b29f922e613c49</id>
<content type='text'>
The tests check if they leak fds themselves, but we also
check if gocryptfs leaks fds. Clarify what is what in the
error message.
</content>
</entry>
<entry>
<title>tests: add TestNotIdle</title>
<updated>2019-09-08T14:16:18+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-09-08T14:16:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ce13851bbfceb02da0b36e743090c5fe54469b33'/>
<id>urn:sha1:ce13851bbfceb02da0b36e743090c5fe54469b33</id>
<content type='text'>
Mount with idle timeout of 100ms read something every 10ms. The fs should
NOT get unmounted. Regression test for https://github.com/rfjakob/gocryptfs/issues/421
</content>
</entry>
<entry>
<title>test_helpers: ListFds: handle an exited process gracefully</title>
<updated>2019-09-08T14:15:35+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-09-08T14:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=ea634090dce2f9a7fe62bae397b92d5940a0be0e'/>
<id>urn:sha1:ea634090dce2f9a7fe62bae397b92d5940a0be0e</id>
<content type='text'>
This used to dump a backtrace to the console which obscured what
is going on.
</content>
</entry>
<entry>
<title>tests: matrix: test -serialize_reads</title>
<updated>2019-09-01T10:51:42+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-09-01T10:51:42+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7eba4f0788e95e3ac47856662ea4ebd986d358cd'/>
<id>urn:sha1:7eba4f0788e95e3ac47856662ea4ebd986d358cd</id>
<content type='text'>
Test if https://github.com/rfjakob/gocryptfs/pull/413 works
as intended.
</content>
</entry>
<entry>
<title>-passwd now takes a passed -scryptn flag into account</title>
<updated>2019-05-13T21:01:44+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-05-13T21:01:44+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=991adfc934d714897e3c0ad39d37fca3edf59bcb'/>
<id>urn:sha1:991adfc934d714897e3c0ad39d37fca3edf59bcb</id>
<content type='text'>
https://github.com/rfjakob/gocryptfs/issues/400
</content>
</entry>
<entry>
<title>tests: root_test: also test file creation</title>
<updated>2019-05-01T16:30:16+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-05-01T16:30:16+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8d083e61f4624a4db324ac5ef4c08fb12d5bc801'/>
<id>urn:sha1:8d083e61f4624a4db324ac5ef4c08fb12d5bc801</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: fix root_test permission issues</title>
<updated>2019-05-01T16:29:06+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2019-05-01T16:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e22c8ea0bd9b1670d4ab2bb4c810119f43f16f40'/>
<id>urn:sha1:e22c8ea0bd9b1670d4ab2bb4c810119f43f16f40</id>
<content type='text'>
The parent directories need execute all permissions.
</content>
</entry>
</feed>
