<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests, branch v2.6.0</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.6.0</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.6.0'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2025-07-14T19:28:36+00:00</updated>
<entry>
<title>tests: TestBtrfsQuirks: skip if mkfs.btrfs is not installed</title>
<updated>2025-07-14T19:28:36+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-07-14T19:28:36+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=0c338cfc7a20ff2dc9d4ea7e93306411d276f15b'/>
<id>urn:sha1:0c338cfc7a20ff2dc9d4ea7e93306411d276f15b</id>
<content type='text'>
Fixes https://github.com/rfjakob/gocryptfs/issues/930
</content>
</entry>
<entry>
<title>Fix all staticcheck errors in gocryptfs codebase</title>
<updated>2025-07-08T17:54:14+00:00</updated>
<author>
<name>copilot-swe-agent[bot]</name>
</author>
<published>2025-07-07T18:18:12+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=386232f39ede046d6453a0990ad40f2d86a26f53'/>
<id>urn:sha1:386232f39ede046d6453a0990ad40f2d86a26f53</id>
<content type='text'>
Co-authored-by: rfjakob &lt;286847+rfjakob@users.noreply.github.com&gt;

Add staticcheck to test.bash for continuous static analysis

Co-authored-by: rfjakob &lt;286847+rfjakob@users.noreply.github.com&gt;

Fix nil pointer dereference in timesToTimespec function

The previous fix for deprecated fuse.UtimeToTimespec caused a panic
because unix.TimeToTimespec doesn't handle nil pointers. This fix
properly handles nil pointers by using unix.UTIME_OMIT while still
using the non-deprecated unix.TimeToTimespec function.

Co-authored-by: rfjakob &lt;286847+rfjakob@users.noreply.github.com&gt;

Undo SA6002 changes and add staticcheck ignore directive instead

Co-authored-by: rfjakob &lt;286847+rfjakob@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Fix a bunch of staticcheck errors</title>
<updated>2025-07-07T17:59:35+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-07-07T17:54:48+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=8f5df19b353e02ffba842fd1b15ccf93da7ee3b4'/>
<id>urn:sha1:8f5df19b353e02ffba842fd1b15ccf93da7ee3b4</id>
<content type='text'>
Tool-assisted.
</content>
</entry>
<entry>
<title>tests: reverse: delete static directory tree</title>
<updated>2025-06-20T18:51:12+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-06-20T18:51:12+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c82ca93f29ea8fe7990558917e20ae5afcd2fab0'/>
<id>urn:sha1:c82ca93f29ea8fe7990558917e20ae5afcd2fab0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: reverse: generate directory tree for exlucude tests dynamically</title>
<updated>2025-06-20T18:50:26+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-06-20T18:50:26+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=10c7dc51d8bbe5cb8beb3e19f507c6c99eee09d7'/>
<id>urn:sha1:10c7dc51d8bbe5cb8beb3e19f507c6c99eee09d7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>testing: reverse: add some verbose logging</title>
<updated>2025-06-20T18:48:49+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-06-20T18:48:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e6e27c1db0856d162c557e17e0eadff254d84fb8'/>
<id>urn:sha1:e6e27c1db0856d162c557e17e0eadff254d84fb8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>testing: reverse: factor out newReverseFS</title>
<updated>2025-06-19T20:03:06+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-06-19T11:44:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=66bfd4d9fef5df871348964526b64b700ee6a19c'/>
<id>urn:sha1:66bfd4d9fef5df871348964526b64b700ee6a19c</id>
<content type='text'>
Will be used soon in a new gitignore test.

Relates-to: https://github.com/rfjakob/gocryptfs/issues/927
</content>
</entry>
<entry>
<title>tests: add TestRootForceOwner</title>
<updated>2025-06-05T17:22:54+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-06-05T17:19:53+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=e55a637512131c21a7eb16574aba799abd2a336f'/>
<id>urn:sha1:e55a637512131c21a7eb16574aba799abd2a336f</id>
<content type='text'>
	$ make root_test
	[...]
	=== RUN   TestRootForceOwner
	    root_test.go:398: mkdir /var/tmp/gocryptfs-test-parent-0/3816769547/TestRootForceOwner.2366169656.mnt/dir1: permission denied
	    root_test.go:408: open /var/tmp/gocryptfs-test-parent-0/3816769547/TestRootForceOwner.2366169656.mnt/file1: permission denied
	    root_test.go:415: mknod: permission denied
	--- FAIL: TestRootForceOwner (0.04s)

https://github.com/rfjakob/gocryptfs/issues/783
</content>
</entry>
<entry>
<title>tests: fsstress-gocryptfs.bash: inform user that they should wait for cleanup</title>
<updated>2025-05-10T09:51:45+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-05-10T09:51:25+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=735b194a2c6e6c2c36ecfb37b0e64d16e52577bf'/>
<id>urn:sha1:735b194a2c6e6c2c36ecfb37b0e64d16e52577bf</id>
<content type='text'>
Without this message, fsstress-gocryptfs.bash seems to just hang after Ctrl-C.
</content>
</entry>
<entry>
<title>darwin: tests/defaults: fix unix.Getdents build failure</title>
<updated>2025-04-26T09:27:58+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-04-26T09:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=7901dc91e1125aa90c7fbd547d5f80eedfeed8ec'/>
<id>urn:sha1:7901dc91e1125aa90c7fbd547d5f80eedfeed8ec</id>
<content type='text'>
Error was:

+ go test -c -tags without_openssl -o /dev/null github.com/rfjakob/gocryptfs/v2/tests/defaults
Error: tests/defaults/main_test.go:532:17: undefined: unix.Getdents
Error: tests/defaults/main_test.go:538:16: undefined: unix.Getdents
Error: tests/defaults/main_test.go:549:16: undefined: unix.Getdents
</content>
</entry>
</feed>
