test/fmt_v2: include devices and mount

Include devices and mounts in the basic pipeline to check that
parsing and describing them works as expected.
This commit is contained in:
Christian Kellner 2021-07-20 17:01:38 +00:00
parent a1df2d5d9d
commit 3965291895

View file

@ -65,7 +65,35 @@ BASIC_PIPELINE = {
"name:tree": {}
}
}
}
},
"devices": {
"root": {
"type": "org.osbuild.loopback",
"options": {
"filename": "empty.img"
}
},
"boot": {
"type": "org.osbuild.loopback",
"options": {
"filename": "empty.img"
}
},
},
"mounts": [
{
"name": "root",
"type": "org.osbuild.noop",
"source": "root",
"target": "/",
},
{
"name": "boot",
"type": "org.osbuild.noop",
"source": "boot",
"target": "/boot",
}
]
}
]
}