summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/torture/vfstest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c
index 95c377a85f..22cded804f 100644
--- a/source3/torture/vfstest.c
+++ b/source3/torture/vfstest.c
@@ -478,6 +478,10 @@ int main(int argc, char *argv[])
/* some advanced initialization stuff */
smbd_vfs_init(vfs.conn);
+ if (!posix_locking_init(false)) {
+ return 1;
+ }
+
/* Do we have a file input? */
if (filename && filename[0]) {
process_file(&vfs, filename);