summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/aparser/templates/harness.tpl2
-rw-r--r--source3/aparser/templates/harness_end.tpl4
2 files changed, 5 insertions, 1 deletions
diff --git a/source3/aparser/templates/harness.tpl b/source3/aparser/templates/harness.tpl
index 0a10ccf49f..27c33c0adc 100644
--- a/source3/aparser/templates/harness.tpl
+++ b/source3/aparser/templates/harness.tpl
@@ -2,4 +2,4 @@
if (strcmp(test,"@TEST@")==0) {
@TEST@ il;
ret = io_@TEST@("@TEST@", ps, 0, &il, flags);
- }
+ } else
diff --git a/source3/aparser/templates/harness_end.tpl b/source3/aparser/templates/harness_end.tpl
index 191351bee2..1e15faec16 100644
--- a/source3/aparser/templates/harness_end.tpl
+++ b/source3/aparser/templates/harness_end.tpl
@@ -1,3 +1,7 @@
+ {
+ printf("structure %s not found\n", test);
+ ret = False;
+ }
return ret;
}