summaryrefslogtreecommitdiff
path: root/source3/aparser/templates
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-16 15:03:48 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-16 15:03:48 +0000
commit9b863398690af5ea356506a7f51da8a862b45087 (patch)
treec792ee476656bcb12aebffc85eee8f3c47839053 /source3/aparser/templates
parent058ecd89b45bf4e52194595a320e140483c93d30 (diff)
downloadsamba-9b863398690af5ea356506a7f51da8a862b45087.tar.gz
samba-9b863398690af5ea356506a7f51da8a862b45087.tar.bz2
samba-9b863398690af5ea356506a7f51da8a862b45087.zip
the vluke program now takes a structure name on the command line
(This used to be commit 6a3e7ba4f0716eb414daba4ab8aae974db4deba0)
Diffstat (limited to 'source3/aparser/templates')
-rw-r--r--source3/aparser/templates/harness.tpl5
-rw-r--r--source3/aparser/templates/harness_end.tpl3
2 files changed, 8 insertions, 0 deletions
diff --git a/source3/aparser/templates/harness.tpl b/source3/aparser/templates/harness.tpl
new file mode 100644
index 0000000000..bd2355d2a2
--- /dev/null
+++ b/source3/aparser/templates/harness.tpl
@@ -0,0 +1,5 @@
+
+ if (strcmp(test,"@TEST@")==0) {
+ @TEST@ il;
+ ret = io_@TEST@("@TEST@", ps, 0, &il, PARSE_SCALARS|PARSE_BUFFERS);
+ }
diff --git a/source3/aparser/templates/harness_end.tpl b/source3/aparser/templates/harness_end.tpl
new file mode 100644
index 0000000000..191351bee2
--- /dev/null
+++ b/source3/aparser/templates/harness_end.tpl
@@ -0,0 +1,3 @@
+
+ return ret;
+}