aboutsummaryrefslogtreecommitdiff
path: root/tests/test_helpers
diff options
context:
space:
mode:
authorJose M Perez2021-08-12 22:48:34 +0200
committerJakob Unterwurzacher2021-08-19 18:05:54 +0200
commit8f94083a2114c3aef4bc0320065e0374c420ea4a (patch)
treed6b56a31e58a99e8a46b4663d6d63b0c3be425b8 /tests/test_helpers
parent02c91d73ce2c63f999f2c29cf61d55caef19c67b (diff)
Flag -zerodiriv to create all diriv as all zero byte files
Diffstat (limited to 'tests/test_helpers')
-rw-r--r--tests/test_helpers/helpers.go2
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 {