summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-21 20:11:43 -0700
committerJelmer Vernooij <jelmer@samba.org>2010-09-21 22:54:34 -0700
commite456c69498bfe5beb8421bcde523d24f50a34d0c (patch)
treef82eefaa50c8cc9f3c1027d3594bb42997f4fb27 /source4
parente8b20039a7b77e17fd3caa66b68528f70d3b6cec (diff)
downloadsamba-e456c69498bfe5beb8421bcde523d24f50a34d0c.tar.gz
samba-e456c69498bfe5beb8421bcde523d24f50a34d0c.tar.bz2
samba-e456c69498bfe5beb8421bcde523d24f50a34d0c.zip
torture: Fix running individual tests.
Diffstat (limited to 'source4')
-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);
}
}
}