From: Lennart Poettering Date: Fri, 29 Jul 2022 16:45:53 +0000 (+0200) Subject: test: add trivial test for systemd-measure X-Git-Tag: v252-rc1~542^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=984638cde732ae126659630835a590c28c8602b7;p=thirdparty%2Fsystemd.git test: add trivial test for systemd-measure --- diff --git a/test/units/testsuite-70.sh b/test/units/testsuite-70.sh index 09f78a0226b..f0bbee9436c 100755 --- a/test/units/testsuite-70.sh +++ b/test/units/testsuite-70.sh @@ -43,6 +43,18 @@ env PASSWORD=passphrase systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=0+7 $ tpm2_pcrextend 0:sha256=0000000000000000000000000000000000000000000000000000000000000000 /usr/lib/systemd/systemd-cryptsetup attach test-volume $img - tpm2-device=auto,headless=1 && exit 1 +echo HALLO > /tmp/tpmdata1 +echo foobar > /tmp/tpmdata2 + +cat > /tmp/result </testok exit 0