summaryrefslogtreecommitdiffstats
path: root/test/list-contexts
diff options
context:
space:
mode:
Diffstat (limited to 'test/list-contexts')
-rwxr-xr-xtest/list-contexts6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/list-contexts b/test/list-contexts
index e556ca8e..f0731180 100755
--- a/test/list-contexts
+++ b/test/list-contexts
@@ -38,7 +38,11 @@ for path in properties["Modems"]:
val = "{"
for i in properties[key].keys():
val += " " + i + "="
- val += properties[key][i]
+ if i in ["DomainNameServers"]:
+ for n in properties[key][i]:
+ val += n + ","
+ else:
+ val += properties[key][i]
val += " }"
else:
val = str(properties[key])