summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-04-29 01:12:44 +0200
committerMarcel Holtmann <marcel@holtmann.org>2012-04-29 01:12:44 +0200
commitccfc1da8079f1c2cb7bc076c64c12a7c8aa42543 (patch)
tree4439cfcb905e668a2d6520e4792048e5b3726ba0 /test
parentbb3ebfe5a2fe1a1786bc2a233a386bffd78fdbae (diff)
downloadconnman-ccfc1da8079f1c2cb7bc076c64c12a7c8aa42543.tar.gz
connman-ccfc1da8079f1c2cb7bc076c64c12a7c8aa42543.tar.bz2
connman-ccfc1da8079f1c2cb7bc076c64c12a7c8aa42543.zip
test: Add pretty printing for timeservers
Diffstat (limited to 'test')
-rwxr-xr-xtest/monitor-connman3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/monitor-connman b/test/monitor-connman
index 1fe85c7e..1b3b84c7 100755
--- a/test/monitor-connman
+++ b/test/monitor-connman
@@ -42,7 +42,8 @@ def extract(name, value):
val = int(value)
elif name in ["IPv4", "IPv6", "Ethernet", "Proxy" ]:
val = extract_values(value)
- elif name in ["Nameservers", "Domains", "Services", "Technologies"]:
+ elif name in ["Services", "Technologies",
+ "Nameservers", "Domains", "Timeservers"]:
val = extract_list(value)
else:
val = str(value)