summaryrefslogtreecommitdiffstats
path: root/test/TEST-54-CREDS/meson.build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 03:50:42 +0000
commit78e9bb837c258ac0ec7712b3d612cc2f407e731e (patch)
treef515d16b6efd858a9aeb5b0ef5d6f90bf288283d /test/TEST-54-CREDS/meson.build
parentAdding debian version 255.5-1. (diff)
downloadsystemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.tar.xz
systemd-78e9bb837c258ac0ec7712b3d612cc2f407e731e.zip
Merging upstream version 256.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/TEST-54-CREDS/meson.build')
-rw-r--r--test/TEST-54-CREDS/meson.build31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/TEST-54-CREDS/meson.build b/test/TEST-54-CREDS/meson.build
new file mode 100644
index 0000000..8edb043
--- /dev/null
+++ b/test/TEST-54-CREDS/meson.build
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+integration_tests += [
+ integration_test_template + {
+ 'name' : fs.name(meson.current_source_dir()),
+ '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',
+ ],
+ },
+]