libgocryptfs/tests
Jakob Unterwurzacher 4da245c69d fusefrontend_reverse: fix 176-byte names
A file with a name of exactly 176 bytes length caused this error:

  ls: cannot access ./tmp/dsg/sXSGJLTuZuW1FarwIkJs0w/b6mGjdxIRpaeanTo0rbh0A/QjMRrQZC_4WLhmHI1UOBcA/gocryptfs.longname.QV-UipdDXeUVdl05WruoEzBNPrQCfpu6OzJL0_QnDKY: No such file or directory
  ls: cannot access ./tmp/dsg/sXSGJLTuZuW1FarwIkJs0w/b6mGjdxIRpaeanTo0rbh0A/QjMRrQZC_4WLhmHI1UOBcA/gocryptfs.longname.QV-UipdDXeUVdl05WruoEzBNPrQCfpu6OzJL0_QnDKY.name: No such file or directory
  -????????? ? ?     ?             ?            ? gocryptfs.longname.QV-UipdDXeUVdl05WruoEzBNPrQCfpu6OzJL0_QnDKY
  -????????? ? ?     ?             ?            ? gocryptfs.longname.QV-UipdDXeUVdl05WruoEzBNPrQCfpu6OzJL0_QnDKY.name

Root cause was a wrong shortNameMax constant that failed to
account for the obligatory padding byte.

Fix the constant and also expand the TestLongnameStat test case
to test ALL file name lengths from 1-255 bytes.

Fixes https://github.com/rfjakob/gocryptfs/issues/143 .
2017-10-01 13:50:25 +02:00
..
cli tests: check if we close stderr and stdout correctly on mount 2017-07-24 00:05:29 +02:00
defaults tests: add diriv cache race test 2017-08-10 21:01:19 +02:00
example_filesystems fusefrontend_reverse: fix 176-byte names 2017-10-01 13:50:25 +02:00
hkdf_sanity tests: add hkdf_sanity tests with broken example filesystem 2017-03-18 16:48:58 +01:00
matrix Drop Go 1.4 compatability code everywhere 2017-03-05 17:44:14 +01:00
plaintextnames Fix misspellings 2016-10-24 19:18:13 +02:00
reverse fusefrontend_reverse: fix 176-byte names 2017-10-01 13:50:25 +02:00
stress_tests tests: fsstress-gocryptfs.bash: sync up with EncFS 2017-07-21 23:34:44 +02:00
test_helpers fusefrontend: implement path decryption via ctlsock 2017-05-07 21:01:39 +02:00
canonical-benchmarks.bash benchmarks: add streaming read benchmark 2017-06-27 00:04:58 +02:00
dl-linux-tarball.bash tests: OSX compat: use OSX-style "stat -f" 2017-02-16 19:10:36 +01:00
fuse-unmount.bash OSX compat: replace fusermount calls with fuse-unmount.bash 2017-02-15 23:02:01 +01:00
maxlen.bash maxlen.bash: result was 1 too high 2016-10-04 10:26:22 +02:00