libgocryptfs/tests
Jakob Unterwurzacher ad4b99170b tests/cli: escape filenames in TestBadname logs
I just got this message (not reproducible) with unescaped
binary garbage.

  UnmountErr: "/var/tmp/gocryptfs-test-parent-1026/114471933/TestMountBackground.899727687.mnt" was not found in MountInfo, cannot check for FD leaks
  UnmountErr: "/var/tmp/gocryptfs-test-parent-1026/114471933/TestConfigPipe.212912444.mnt" was not found in MountInfo, cannot check for FD leaks
  DecryptName "mzaZRF9_0IU-_5vv2wPC_i": unPad16 error: Padding too long, padLen=49 > 16
  OpenDir ".": invalid entry "KqQ346cuOAFHv_qSta5PhAwrongPattern": bad message
  DecryptName "mzaZRF9_0IU-_5vv2wP_in": unPad16 error: Padding byte at i=10 is invalid
  --- FAIL: TestBadname (0.11s)
      cli_test.go:885: Case 5 failed: 'KqQ346cuOAFHv_qSta5P_invalid_file GOCRYPTFS_BAD_NAME' in [file_invalid_file GOCRYPTFS_BAD_NAME,file,mzaZRF9_0IU-_5vv2wPC_invalid_file GOCRYPTFS_BAD_NAME,file GOCRYPTFS_BAD_NAME,�*A���y���Gfnvalid_file GOCRYPTFS_BAD_NAME,mzaZRF9_0IU-_5vv2wP_invalid_file GOCRYPTFS_BAD_NAME]
  Invalid cipherdir: directory /var/tmp/gocryptfs-test-parent-1026/114471933/TestInitNotEmpty not empty
  FAIL
  FAIL	github.com/rfjakob/gocryptfs/tests/cli	4.817s
2021-08-16 17:15:07 +02:00
..
cli tests/cli: escape filenames in TestBadname logs 2021-08-16 17:15:07 +02:00
defaults fusefrontend: implement fsync on directories 2021-07-29 20:39:50 +02:00
example_filesystems nametransform: check name validity on encryption 2021-06-02 14:29:48 +02:00
fsck tests/fsck: delete obsolete script run_fsck.bash 2021-06-26 19:27:58 +02:00
hkdf_sanity tests: add hkdf_sanity tests with broken example filesystem 2017-03-18 16:48:58 +01:00
matrix tests: matrix: add TestPwd 2021-07-31 13:23:05 +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 syscallcompat: move quirks logic here & fix darwin 2021-08-11 20:23:35 +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 nametransform: delete NameTransformer interface 2021-06-21 11:53:33 +02:00
xattr tests/xattr: fix acl blob 2021-02-07 20:00:33 +01:00
canonical-benchmarks.bash canonical-benchmarks.bash: handle relative paths 2021-06-27 11:48:41 +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
sshfs-benchmark.bash sshfs-benchmark.bash: fix locale trouble and move to tests 2020-06-06 12:15:41 +02:00