aboutsummaryrefslogtreecommitdiffstats
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/test.py b/test.py
index f6c4de1..b9295b8 100755
--- a/test.py
+++ b/test.py
@@ -18,8 +18,15 @@ def main():
sock.connect(socket_path)
c = bjsonrpc.connection.Connection(sock)
- print c.call.whattime()
- print c.call.listfiles()
+ print "time: %s" % c.call.test_whattime()
+ print "files: %s" % c.call.test_listfiles()
+ print c.call.initd_status("bluetooth")
+ print "/*: %s" % c.call.augeas_match("/*")
+ print "/files/*: %s" % c.call.augeas_match("/files/*")
+ print "/files/etc/*: %s" % c.call.augeas_match("/files/etc/*")
+ print "/augeas/*: %s" % c.call.augeas_match("/augeas/*")
+ print "hostname: %s" % c.call.augeas_get("/files/etc/hostname/*")
+ print "localhost: %s" % c.call.augeas_get("/files/etc/hosts/1/canonical")
if __name__ == '__main__':
main()