summaryrefslogtreecommitdiff
path: root/test/th1-tcl9.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/th1-tcl9.txt')
-rw-r--r--test/th1-tcl9.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/th1-tcl9.txt b/test/th1-tcl9.txt
new file mode 100644
index 0000000..305a683
--- /dev/null
+++ b/test/th1-tcl9.txt
@@ -0,0 +1,9 @@
+<th1>
+ #
+ # This is a "TH1 fragment" used to test the Tcl integration features of TH1.
+ # The corresponding test file executes this file using the test-th-render
+ # Fossil command.
+ #
+ set channel stdout; tclInvoke set channel $channel
+ tclEval {puts $channel [list [file tail $argv0] $argc $argv]}
+</th1>