test: add new containers.unit.create options in test
This commit is contained in:
parent
17fda9e318
commit
3bf6ca399f
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue