---
 Makefile.am        |    3 ++-
 test/list-contexts |    6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 71365d7..6c53215 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -470,7 +470,8 @@ test_scripts = test/backtrace \
                test/cdma-list-call \
                test/cdma-dial-number \
                test/cdma-hangup \
-               test/disable-call-forwarding
+               test/disable-call-forwarding \
+               test/set-context-property
 
 if TEST
 testdir = $(pkglibdir)/test
diff --git a/test/list-contexts b/test/list-contexts
index 68dae6a..9519ade 100755
--- a/test/list-contexts
+++ b/test/list-contexts
@@ -24,15 +24,15 @@ for path, properties in modems:
                print "    [ %s ]" % (path)
 
                for key in properties.keys():
-                       if key in ["Settings"]:
+                       if key in ["Settings"] or key in ["IPv6Settings"]:
                                val = "{"
                                for i in properties[key].keys():
                                        val += " " + i + "="
                                        if i in ["DomainNameServers"]:
                                                for n in properties[key][i]:
-                                                       val += n + ","
+                                                       val += str(n) + ","
                                        else:
-                                               val += properties[key][i]
+                                               val += str(properties[key][i])
                                val += " }"
                        else:
                                val = str(properties[key])
-- 
1.7.1

_______________________________________________
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono

Reply via email to