libgocryptfs/tests
Jakob Unterwurzacher 0e37fbe042 tests: TestFileHoleCopy: accept +-4kB
Failure looked like this:

--- FAIL: TestFileHoleCopy (3.73s)
    --- FAIL: TestFileHoleCopy/k81 (0.04s)
        file_holes_test.go:93: size changed: st0.Blocks=88 st2.Blocks=96
    file_holes_test.go:147: aborting further subtests

$ findholes TestFileHoleCopy.k81.1
         0 data
     36864 hole
     45056 data
     50434 hole
     50434 eof

$ findholes TestFileHoleCopy.k81.2
         0 data
     36864 hole
     45056 data
     50434 hole
     50434 eof

$ filefrag -v TestFileHoleCopy.k81.1
Filesystem type is: ef53
File size of TestFileHoleCopy.k81.1 is 50434 (13 blocks of 4096 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..       2:   23702311..  23702313:      3:
   1:        3..       8:   20389855..  20389860:      6:   23702314:
   2:       11..      12:   23702314..  23702315:      2:   20389863: last,eof
TestFileHoleCopy.k81.1: 3 extents found

$ filefrag -v TestFileHoleCopy.k81.2
Filesystem type is: ef53
File size of TestFileHoleCopy.k81.2 is 50434 (13 blocks of 4096 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..       2:   20389861..  20389863:      3:
   1:        3..       4:   23702316..  23702317:      2:   20389864:
   2:        5..       6:   20389864..  20389865:      2:   23702318:
   3:        7..       8:   23702318..  23702319:      2:   20389866:
   4:       11..      12:   23702320..  23702321:      2:             last,eof
TestFileHoleCopy.k81.2: 4 extents found
2021-05-29 16:56:20 +02:00
..
cli tests: MountOrFatal creates mnt dir itself 2021-03-20 10:33:34 +01:00
defaults fusefrontend: do not encrypt ACLs 2021-02-07 20:01:16 +01:00
example_filesystems test_helper: VerifyExistence: don't panic 2020-08-15 15:39:08 +02:00
fsck v2api: fsck: use a temporary mount 2020-07-19 23:03:47 +02:00
hkdf_sanity tests: add hkdf_sanity tests with broken example filesystem 2017-03-18 16:48:58 +01:00
matrix tests: add TestHaveDotdot 2021-05-26 13:17:56 +02:00
plaintextnames tests: TestFileHoleCopy: accept +-4kB 2021-05-29 16:56:20 +02:00
reverse tests/reverse: implement (skipped) xattr test 2020-08-30 16:36:10 +02:00
root_test Add -acl flag to enable ACL enforcement 2021-05-15 17:58:37 +02:00
sharedstorage tests: sharedstorage: wait 100ms longer for cache expiry 2021-04-02 20:22:26 +02:00
stress_tests tests: fsstress-gocryptfs.bash: log timestamp for each iteration 2020-10-04 00:12:46 +02:00
symlink_race tests: add symlink_race tool 2018-09-23 12:17:26 +02:00
test_helpers test_helpers: VerifySize: don't complain about ino mismatch 2021-03-21 10:53:51 +01:00
xattr tests/xattr: fix acl blob 2021-02-07 20:00:33 +01:00
canonical-benchmarks.bash benchmarks: add streaming read benchmark 2017-06-27 00:04:58 +02:00
dl-linux-tarball.bash macos: tests: use curl of wget is not available 2018-03-07 09:40:48 +01:00
fuse-unmount.bash Assorted spelling fixes. 2018-12-27 15:19:55 +01:00
len2elen.sh test: len2elen.sh: fix first line output 2019-02-17 16:06:05 +01:00
maxlen.bash maxlen.bash: result was 1 too high 2016-10-04 10:26:22 +02:00
sshfs-benchmark.bash sshfs-benchmark.bash: fix locale trouble and move to tests 2020-06-06 12:15:41 +02:00