diff options
author | Jakob Unterwurzacher | 2023-06-05 13:43:23 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2023-06-06 16:24:06 +0200 |
commit | 5e4f8bde42c76a4463b260ce5308089f5fe7048d (patch) | |
tree | bda9bdea60d2a06f26200dd8fa8e04a9116d42f5 /internal/speed/benchmark.bash | |
parent | 452d51183b95c3eb1638efa40b0f2ae1c19de50d (diff) |
tests/cluster: add TestOpenTruncate
This fails right now:
1 jakob@brikett:~/go/src/github.com/rfjakob/gocryptfs/tests/cluster$ go test -run TestOpenTruncate -v
=== RUN TestOpenTruncate
cluster_test.go:235: POSIX compliance issue: non-exlusive create failed with err=file exists
doWrite 2898550: corrupt header: ParseHeader: header is all-zero. Header hexdump: 000000000000000000000000000000000000
cluster_test.go:240: iteration 1: WriteAt: write /var/tmp/gocryptfs-test-parent-1026/1896094179/TestOpenTruncate.4202105280.mnt2/foo: input/output error
--- FAIL: TestOpenTruncate (0.10s)
FAIL
exit status 1
FAIL github.com/rfjakob/gocryptfs/v2/tests/cluster 0.099s
1 jakob@brikett:~/go/src/github.com/rfjakob/gocryptfs/tests/cluster$ go test -run TestOpenTruncate -v
=== RUN TestOpenTruncate
cluster_test.go:235: POSIX compliance issue: non-exlusive create failed with err=file exists
doRead 2898565: corrupt block #0: cipher: message authentication failed
ino2898565 fh9: RMW read failed: errno=5
cluster_test.go:240: iteration 8: WriteAt: write /var/tmp/gocryptfs-test-parent-1026/652691834/TestOpenTruncate.281532388.mnt1/foo: input/output error
--- FAIL: TestOpenTruncate (0.09s)
FAIL
exit status 1
FAIL github.com/rfjakob/gocryptfs/v2/tests/cluster 0.095s
Diffstat (limited to 'internal/speed/benchmark.bash')
0 files changed, 0 insertions, 0 deletions