summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smbtorture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index a4d206b5bc..c03d734318 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -73,7 +73,7 @@ static bool run_matching(struct torture_context *torture,
*matched = true;
reload_charcnv(torture->lp_ctx);
torture->active_testname = name;
- ret &= torture_run_tcase(torture, t);
+ ret &= torture_run_tcase_restricted(torture, t, restricted);
}
for (p = t->tests; p; p = p->next) {
name = talloc_asprintf(torture, "%s-%s-%s", prefix, t->name, p->name);
@@ -81,7 +81,7 @@ static bool run_matching(struct torture_context *torture,
*matched = true;
reload_charcnv(torture->lp_ctx);
torture->active_testname = name;
- ret &= torture_run_test(torture, t, p);
+ ret &= torture_run_test_restricted(torture, t, p, restricted);
}
}
}