test: add new containers.unit.create options in test

This commit is contained in:
Achilleas Koutsou 2024-11-28 17:21:29 +01:00 committed by Michael Vogt
parent 17fda9e318
commit 3bf6ca399f

View file

@ -164,7 +164,10 @@ def test_systemd_unit_create(tmp_path, stage_module, unit_path, expected_prefix)
"key": "TRACE",
"value": "1",
},
]
],
"SecurityLabelFileType": "usr_t",
"SecurityLabelType": "spc_t",
"Tmpfs": "/test.tmp",
},
"Install": {
"WantedBy": [
@ -200,6 +203,9 @@ def test_systemd_unit_create(tmp_path, stage_module, unit_path, expected_prefix)
Image=img
Environment="DEBUG=1"
Environment="TRACE=1"
SecurityLabelFileType=usr_t
SecurityLabelType=spc_t
Tmpfs=/test.tmp
[Install]
WantedBy=local-fs.target