test/data: check for nm.conn's path property

Add a check for the new path property of `org.osbuild.nm.conn`.
This commit is contained in:
Christian Kellner 2021-07-28 11:22:47 +00:00 committed by Tom Gundersen
parent 9977c4e1f9
commit 0c9a54386b
3 changed files with 54 additions and 0 deletions

View file

@ -295,6 +295,31 @@
}
}
}
},
{
"name": "org.osbuild.nm.conn",
"options": {
"path": "/etc/NetworkManager/system-connections/test.conf",
"settings": {
"connection": {
"type": "ethernet",
"id": "static-conn",
"uuid": "6fb8f75a-7fde-4906-a51e-a70e56c58742",
"interface-name": "eth1",
"autoconnect-priority": 0,
"autoconnect": true
},
"ipv4": {
"method": "manual",
"address": [
"10.24.0.5/24"
]
},
"ipv6": {
"method": "ignore"
}
}
}
}
]
},

View file

@ -31,6 +31,31 @@
}
}
}
},
{
"name": "org.osbuild.nm.conn",
"options": {
"path": "/etc/NetworkManager/system-connections/test.conf",
"settings": {
"connection": {
"type": "ethernet",
"id": "static-conn",
"uuid": "6fb8f75a-7fde-4906-a51e-a70e56c58742",
"interface-name": "eth1",
"autoconnect-priority": 0,
"autoconnect": true
},
"ipv4": {
"method": "manual",
"address": [
"10.24.0.5/24"
]
},
"ipv6": {
"method": "ignore"
}
}
}
}
]
}

View file

@ -1,5 +1,9 @@
{
"added_files": [
"/etc",
"/etc/NetworkManager",
"/etc/NetworkManager/system-connections",
"/etc/NetworkManager/system-connections/test.conf",
"/usr",
"/usr/lib",
"/usr/lib/NetworkManager",