Add some extra special handling to list-modem test script
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 24 Oct 2009 15:42:23 +0000 (00:42 +0900)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 24 Oct 2009 15:42:23 +0000 (00:42 +0900)
test/list-modems

index 7fe4f68..173d040 100755 (executable)
@@ -44,12 +44,15 @@ for path in properties["Modems"]:
                                                "SubscriberNumbers",
                                                "ServiceDiallingNumbers",
                                                "PreferredLanguages",
+                                               "PrimaryContexts",
                                                "LockedPins"]:
                                val = ""
                                for i in properties[key]:
                                        val += i + " "
                        elif key in ["MobileNetworkCodeLength",
-                                               "VoicemailMessageCount"]:
+                                               "VoicemailMessageCount",
+                                               "MicrophoneVolume",
+                                               "SpeakerVolume"]:
                                val = int(properties[key])
                        else:
                                val = str(properties[key])