From: Mike Yuan Date: Tue, 16 Dec 2025 19:21:30 +0000 (+0100) Subject: TEST-54-CREDS: add test case for #40108 X-Git-Tag: v259~10^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3602308480ba68bf37fc4ade7cd8cf98b1e3722f;p=thirdparty%2Fsystemd.git TEST-54-CREDS: add test case for #40108 --- diff --git a/test/units/TEST-54-CREDS.sh b/test/units/TEST-54-CREDS.sh index 9e2cee22ce1..ae16e5b3dfb 100755 --- a/test/units/TEST-54-CREDS.sh +++ b/test/units/TEST-54-CREDS.sh @@ -554,6 +554,9 @@ run0 -u testuser --pipe mkdir -p /home/testuser/.config/credstore.encrypted run0 -u testuser --pipe systemd-creds encrypt --user --name=brummbaer - /home/testuser/.config/credstore.encrypted/brummbaer < /tmp/brummbaer.data run0 -u testuser --pipe systemd-run --user --pipe -p ImportCredential=brummbaer systemd-creds cat brummbaer | cmp /tmp/brummbaer.data +# https://github.com/systemd/systemd/pull/40108 +run0 -u testuser --pipe systemd-run --user --wait -p ImportCredential=brummbaer -p ExecStartPre='ls -l $CREDENTIALS_DIRECTORY' bash -c 'systemd-creds cat brummbaer | cmp /tmp/brummbaer.data' + # https://github.com/systemd/systemd/pull/39651 TESTUSER_CRED_DIR="/run/user/$(id -u testuser)/credentials"