<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gocryptfs/tests, branch v2.5.4</title>
<subtitle>Mirror of gocryptfs source code on Github</subtitle>
<id>http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.5.4</id>
<link rel='self' href='http://nuetzlich.net/cgit/gocryptfs/atom?h=v2.5.4'/>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/'/>
<updated>2025-04-13T09:58:14+00:00</updated>
<entry>
<title>stress_tests/pingpong.bash: better comment</title>
<updated>2025-04-13T09:58:14+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-04-13T09:58:14+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=24a2ad252034d3b8049f90e7147de86d1d17d7c1'/>
<id>urn:sha1:24a2ad252034d3b8049f90e7147de86d1d17d7c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stress_tests: fsstress-gocryptfs.bash: don't try to recompile</title>
<updated>2025-04-07T19:37:18+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-04-07T19:37:18+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=6d513c1c8f0cb15db0be005cb5b49bf538c1aca3'/>
<id>urn:sha1:6d513c1c8f0cb15db0be005cb5b49bf538c1aca3</id>
<content type='text'>
The days of GOPATH are over. Also, use the fsstress path
that "sudo make install" in xfstests uses per default.
</content>
</entry>
<entry>
<title>stress_tests/parallel_cp.sh: note that problem is fixed</title>
<updated>2025-04-07T19:37:03+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-04-07T19:27:49+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=0459e6ad1fbec7c9ae664f266916e519f095c08c'/>
<id>urn:sha1:0459e6ad1fbec7c9ae664f266916e519f095c08c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: fsck: generate evil files with "\r" and "\n" on the fly</title>
<updated>2025-04-05T09:46:07+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-04-05T09:31:14+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=c8055829c311ecaf532fd171f3a5d104f873272d'/>
<id>urn:sha1:c8055829c311ecaf532fd171f3a5d104f873272d</id>
<content type='text'>
Because if we have them in git, we get this:

	$ go install github.com/rfjakob/gocryptfs/v2@latest
	go: downloading github.com/rfjakob/gocryptfs/v2 v2.5.2
	go: github.com/rfjakob/gocryptfs/v2@latest: create zip: tests/fsck/malleable_base64/27AG8t-XZH7G9ou2OSD_z
	g: malformed file path "tests/fsck/malleable_base64/27AG8t-XZH7G9ou2OSD_z\ng": invalid char '\n'
	g: malformed file path "tests/fsck/malleable_base64/27AG8t-XZH7G9ou2OSD_z\rg": invalid char '\r'

Fixes: https://github.com/rfjakob/gocryptfs/issues/904
Relates-to: https://github.com/golang/go/issues/28001
</content>
</entry>
<entry>
<title>tests/root_test: use our own Setgroups/Setregid/Setreuid wrappers</title>
<updated>2025-02-26T20:56:25+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-02-26T20:56:25+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=0024b056d668290e5105527e8ff0a3b23a3a70c8'/>
<id>urn:sha1:0024b056d668290e5105527e8ff0a3b23a3a70c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/root_test: add TestConcurrentUserOps and TestAsUserSleep</title>
<updated>2025-02-23T21:34:56+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-02-23T21:29:17+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=178f570d4076ee9be408c9eb5e50502275a180c6'/>
<id>urn:sha1:178f570d4076ee9be408c9eb5e50502275a180c6</id>
<content type='text'>
Both work with

	golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a

but break with

	golang.org/x/sys v0.30.0

https://github.com/rfjakob/gocryptfs/issues/893
https://github.com/rfjakob/gocryptfs/issues/892
</content>
</entry>
<entry>
<title>tests: root_test: add TestMain</title>
<updated>2025-02-17T20:37:41+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-02-17T20:37:41+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=3c82930d4ad22b5be2f644346018a0550dd66aa8'/>
<id>urn:sha1:3c82930d4ad22b5be2f644346018a0550dd66aa8</id>
<content type='text'>
I will add more tests for https://github.com/rfjakob/gocryptfs/issues/893
soon, these will also use DefaultPlainDir.
</content>
</entry>
<entry>
<title>tests: add issue893.sh, a reproducer for #893 "mariadb crashing since 2.5.0"</title>
<updated>2025-01-23T21:17:51+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-01-23T21:16:29+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=00d4d91048fd6ae3017ced1f3937357c14e8e548'/>
<id>urn:sha1:00d4d91048fd6ae3017ced1f3937357c14e8e548</id>
<content type='text'>
https://github.com/rfjakob/gocryptfs/issues/893
</content>
</entry>
<entry>
<title>tests: reverse: TestMtimePlus10: fix darwin build</title>
<updated>2025-01-18T13:46:14+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-01-18T13:46:14+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=a0105e65cde9f4643a896770a9629da644613a8a'/>
<id>urn:sha1:a0105e65cde9f4643a896770a9629da644613a8a</id>
<content type='text'>
Darwin does not have Stat_t.mtim:

+ go test -c -tags without_openssl -o /dev/null github.com/rfjakob/gocryptfs/v2/tests/reverse
Error: tests/reverse/correctness_test.go:407:15: name_stat.Mtim undefined (type syscall.Stat_t has no field or method Mtim)
Error: tests/reverse/correctness_test.go:407:37: long_stat.Mtim undefined (type syscall.Stat_t has no field or method Mtim)
Error: tests/reverse/correctness_test.go:410:15: name_stat.Ctim undefined (type syscall.Stat_t has no field or method Ctim)
Error: tests/reverse/correctness_test.go:410:37: long_stat.Ctim undefined (type syscall.Stat_t has no field or method Ctim)
Error: tests/reverse/correctness_test.go:424:16: diriv_stat.Mtim undefined (type syscall.Stat_t has no field or method Mtim)
Error: tests/reverse/correctness_test.go:424:42: workdirA_stat.Mtim undefined (type syscall.Stat_t has no field or method Mtim)
Error: tests/reverse/correctness_test.go:427:16: diriv_stat.Ctim undefined (type syscall.Stat_t has no field or method Ctim)
Error: tests/reverse/correctness_test.go:427:42: workdirA_stat.Ctim undefined (type syscall.Stat_t has no field or method Ctim)

Switch to os.Stat.
</content>
</entry>
<entry>
<title>tests: skip TestFileHoleCopy for now</title>
<updated>2025-01-18T13:27:27+00:00</updated>
<author>
<name>Jakob Unterwurzacher</name>
</author>
<published>2025-01-18T13:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://nuetzlich.net/cgit/gocryptfs/commit/?id=38936cba4e319525875feaa5d44b85819692e056'/>
<id>urn:sha1:38936cba4e319525875feaa5d44b85819692e056</id>
<content type='text'>
This problem potentially causes extra disk usage for sparse files
but is otherwise harmless.

Skip the test for now.
</content>
</entry>
</feed>
