summaryrefslogtreecommitdiff
path: root/src/basic/unit-def.c
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2022-08-04 11:00:10 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2022-08-04 13:18:47 +0000
commita552061ebb167386520a7aa8acef04409c6275a6 (patch)
tree225450fb2d53954c85f640384bbc21859992af26 /src/basic/unit-def.c
parentc1178baacdf7df9c0f68593eb8d4089415facb38 (diff)
downloadsystemd-a552061ebb167386520a7aa8acef04409c6275a6.tar.gz
test: skip the relevant test case if systemd-measure is not present
systemd-measure is not built without gnu-efi, which is the case, for example, on ppc64le. Let's skip the relevant test case in this case instead of failing. ``` The Meson build system Version: 0.58.2 ... Host machine cpu family: ppc64 Host machine cpu: ppc64le ... Message: Skipping systemd-measure.1 because HAVE_GNU_EFI is false ... [ 115.711775] testsuite-70.sh[745]: + cat [ 115.741996] testsuite-70.sh[832]: + /usr/lib/systemd/systemd-measure calculate --linux=/tmp/tpmdata1 --initrd=/tmp/tpmdata2 [ 115.754015] testsuite-70.sh[833]: + cmp - /tmp/result [ 115.758004] testsuite-70.sh[832]: /usr/lib/systemd/tests/testdata/units/testsuite-70.sh: line 56: /usr/lib/systemd/systemd-measure: No such file or directory [ 115.773851] testsuite-70.sh[833]: cmp: EOF on - which is empty [ 115.983681] sh[835]: + systemctl poweroff --no-block ```
Diffstat (limited to 'src/basic/unit-def.c')
0 files changed, 0 insertions, 0 deletions