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:
parent
9977c4e1f9
commit
0c9a54386b
3 changed files with 54 additions and 0 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue