Add parsing of Domainname, Hostname and Timeserver results
[framework/connectivity/connman.git] / test / list-devices
index 691a6fb..61d8bbc 100755 (executable)
@@ -18,6 +18,12 @@ for path in properties["Devices"]:
        print "[ %s ]" % (path)
 
        for key in properties.keys():
-               print "    %s = %s" % (key, properties[key])
+               if key in ["Networks"]:
+                       val = ""
+                       for i in properties[key]:
+                               val += i + " "
+               else:
+                       val = str(properties[key])
+               print "    %s = %s" % (key, val)
 
        print