diff options
author | Jose M Perez | 2021-08-12 22:48:34 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-08-19 18:05:54 +0200 |
commit | 8f94083a2114c3aef4bc0320065e0374c420ea4a (patch) | |
tree | d6b56a31e58a99e8a46b4663d6d63b0c3be425b8 /tests/test_helpers/helpers.go | |
parent | 02c91d73ce2c63f999f2c29cf61d55caef19c67b (diff) |
Flag -zerodiriv to create all diriv as all zero byte files
Diffstat (limited to 'tests/test_helpers/helpers.go')
-rw-r--r-- | tests/test_helpers/helpers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_helpers/helpers.go b/tests/test_helpers/helpers.go index 87dba0a..f78c59c 100644 --- a/tests/test_helpers/helpers.go +++ b/tests/test_helpers/helpers.go @@ -110,7 +110,7 @@ func ResetTmpDir(createDirIV bool) { // Open cipherdir (following symlinks) dirfd, err := syscall.Open(DefaultCipherDir, syscall.O_DIRECTORY|syscallcompat.O_PATH, 0) if err == nil { - err = nametransform.WriteDirIVAt(dirfd) + err = nametransform.WriteDirIVAt(dirfd, true) syscall.Close(dirfd) } if err != nil { |