chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtest/t-basic: New test, with expected output
[secnet.git]
/
mtest
/
t-basic
diff --git a/mtest/t-basic
b/mtest/t-basic
new file mode 100755
(executable)
index 0000000..
be70503
--- /dev/null
+++ b/
mtest/t-basic
@@ -0,0
+1,11
@@
+#! /usr/bin/tclsh
+
+source mtest/common.tcl
+
+run-mss test-example/sites $tmp/out.conf
+
+set seddery { sed -n 's/^[ \t]*//; /^[^#]/p' }
+exec bash -c "
+ diff -u <($seddery mtest/e-basic.conf) \\
+ <($seddery $tmp/out.conf )
+"