diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-14 22:14:27 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-14 23:19:28 +0200 |
commit | 9e262ef92e40dc761675055866a421a4a4acc84b (patch) | |
tree | ee9e1baa97eb442748560b6e592443846234726d /test/TEST-54-CREDS/meson.build | |
parent | Merge pull request #32817 from YHNdnzj/core-varlink (diff) | |
download | systemd-9e262ef92e40dc761675055866a421a4a4acc84b.tar.xz systemd-9e262ef92e40dc761675055866a421a4a4acc84b.zip |
test: Enable TEST-54-CREDS on mkosi
Diffstat (limited to 'test/TEST-54-CREDS/meson.build')
-rw-r--r-- | test/TEST-54-CREDS/meson.build | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/test/TEST-54-CREDS/meson.build b/test/TEST-54-CREDS/meson.build index d53dbe562c..8edb043a51 100644 --- a/test/TEST-54-CREDS/meson.build +++ b/test/TEST-54-CREDS/meson.build @@ -3,6 +3,29 @@ integration_tests += [ integration_test_template + { 'name' : fs.name(meson.current_source_dir()), - 'enabled' : false, + 'cmdline' : integration_test_template['cmdline'] + [ + 'systemd.set_credential=kernelcmdlinecred:uff', + 'systemd.set_credential=sysctl.extra:kernel.domainname=sysctltest', + 'systemd.set_credential=login.motd:hello', + 'systemd.set_credential=login.issue:welcome', + 'systemd.set_credential_binary=waldi:d29vb29mZmZ3dWZmZnd1ZmYK', + 'rd.systemd.import_credentials=no', + 'rd.systemd.wants=initrdcred.service', + ], + 'credentials' : integration_test_template['credentials'] + [ + 'mynspawncredential=strangevalue', + files('systemd.extra-unit.my-service.service'), + files('systemd.unit-dropin.my-service.service'), + files('systemd.unit-dropin.my-service.service~30-named.service'), + ], + 'qemu-args' : integration_test_template['qemu-args'] + [ + '-fw_cfg', 'name=opt/io.systemd.credentials/myqemucredential,string=othervalue', + '-smbios', 'type=11,value=io.systemd.credential:smbioscredential=magicdata', + '-smbios', 'type=11,value=io.systemd.credential.binary:binarysmbioscredential=bWFnaWNiaW5hcnlkYXRh', + '-smbios', 'type=11,value=io.systemd.credential.binary:sysusers.extra=dSBjcmVkdGVzdHVzZXIK', + '-smbios', 'type=11,value=io.systemd.credential.binary:tmpfiles.extra=ZiAvdG1wL3NvdXJjZWRmcm9tY3JlZGVudGlhbCAtIC0gLSAtIHRtcGZpbGVzc2VjcmV0Cg==', + '-smbios', 'type=11,value=io.systemd.credential.binary:fstab.extra=aW5qZWN0ZWQgL2luamVjdGVkIHRtcGZzIFgtbW91bnQubWtkaXIgMCAwCg==', + '-smbios', 'type=11,value=io.systemd.credential:getty.ttys.container=idontexist', + ], }, ] |