git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93e5a56
)
r25527: Deal with no tests being registered.
author
Jelmer Vernooij
<jelmer@samba.org>
Fri, 5 Oct 2007 20:33:55 +0000
(20:33 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 20:07:47 +0000
(15:07 -0500)
source/torture/smbtorture.c
patch
|
blob
|
history
diff --git
a/source/torture/smbtorture.c
b/source/torture/smbtorture.c
index a14b9095986228dd5c979c36e52b7189cefd2911..76ff3d97fadecd47b8597e29fdf528ca67932515 100644
(file)
--- a/
source/torture/smbtorture.c
+++ b/
source/torture/smbtorture.c
@@
-169,6
+169,9
@@
static void print_test_list(void)
struct torture_suite *s;
struct torture_tcase *t;
+ if (torture_root == NULL)
+ return;
+
for (o = torture_root->children; o; o = o->next) {
for (s = o->children; s; s = s->next) {
printf("%s-%s\n", o->name, s->name);