summaryrefslogtreecommitdiffstats
path: root/lua/tests
Commit message (Collapse)AuthorAgeFilesLines
* lua: Attach __tostring functions exceptions.Richard W.M. Jones2012-11-201-0/+37
| | | | This includes a test.
* lua: Various fixes to the bindings (thanks Jerome Vuarand).Richard W.M. Jones2012-11-2010-28/+28
| | | | | | | | | | | | See http://article.gmane.org/gmane.comp.lang.lua.general/95065 Note that this is incompatible with existing code. You have to do: local G = require "guestfs" local g = G.create () ie. give the module your own name ("G" in that example).
* lua: Test globals in Guestfs.* namespace.Richard W.M. Jones2012-11-191-0/+26
|
* lua: Add global Guestfs.event_all (list of all events).Richard W.M. Jones2012-11-191-0/+4
|
* lua: Various fixes and enhancements:Richard W.M. Jones2012-11-196-25/+102
| | | | | | | | | - add support for events (with test) - test progress messages - update documentation to describe events - refactor handle closing code - refactor error code - use 'assert' in test code instead of 'if ... then error end'
* lua: Add another test to prove that the handles are really independent.Richard W.M. Jones2012-11-181-0/+41
|
* Add Lua bindings.Richard W.M. Jones2012-11-177-0/+240
These are relatively complete, although only lightly tested. Missing: - events - last_errno - user_cancel