simple testing framework

This commit is contained in:
Daniel Kahn Gillmor
2019-02-18 07:55:33 -05:00
parent b3db013754
commit 72ed000ccf
3 changed files with 73 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
-- -*- lua -*-
mt.echo("beginning test")
conn = mt.connect("unix:signing.sock")
if conn == nil then
error "mt.connect() failed"
end
mt.disconnect(conn)
mt.echo("test complete")