summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-54.sh
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-06-29 22:53:26 +0200
committerLennart Poettering <lennart@poettering.net>2023-07-04 23:14:21 +0200
commit53888c3393c8189c383a776284d80d002c30a507 (patch)
treeb2e684fe0619d87a9bbf10ab988e15c983b63554 /test/units/testsuite-54.sh
parentgetty-generator: minor modernizations (diff)
downloadsystemd-53888c3393c8189c383a776284d80d002c30a507.tar.xz
systemd-53888c3393c8189c383a776284d80d002c30a507.zip
test: verify that the getty generator with creds works
Diffstat (limited to '')
-rwxr-xr-xtest/units/testsuite-54.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/units/testsuite-54.sh b/test/units/testsuite-54.sh
index bcc7313d6f..8ba327a3b1 100755
--- a/test/units/testsuite-54.sh
+++ b/test/units/testsuite-54.sh
@@ -308,6 +308,9 @@ if ! systemd-detect-virt -q -c ; then
# Check that the fstab credential logic worked
test -d /injected
grep -q /injected /proc/self/mountinfo
+
+ # Make sure the getty generator processed the credentials properly
+ systemctl -P Wants show getty.target | grep -q container-getty@idontexist.service
fi
systemd-analyze log-level info