r14720: Add torture_context argument to all torture tests
[kai/samba.git] / source4 / torture / smbtorture.c
index c2f4f84fac9afc39725b96ce8dafa7884b0e526b..1520ff741c2bb50496830109373b772e86d5b80a 100644 (file)
@@ -76,7 +76,7 @@ static BOOL run_test(const char *name)
                                         
                        } else {
                                struct timeval tv = timeval_current();
-                               if (!o->fn()) {
+                               if (!o->fn(NULL)) {
                                        ret = False;
                                        printf("TEST %s FAILED!\n", o->name);
                                }