Skip to content

Commit

Permalink
Disable mb policy creation test on s390x and ppc64le
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaarreell committed Feb 18, 2025
1 parent 7ccbe62 commit 08134d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions functional/keylime-policy-commands/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,9 @@ rlJournalStart
rlRun "popd"
rlPhaseEnd

# efivar not available on s390x and ppc64le
ARCH=$( rlGetPrimaryArch )
if [ "$ARCH" != "s390x" ] && [ "$ARCH" != "ppc64le" ]; then
rlPhaseStartTest "Create measured boot policy"
rlRun "mkdir -p measured-boot"
rlRun "pushd measured-boot"
Expand All @@ -353,6 +356,7 @@ rlJournalStart
rlAssertGrep "true" "$rlRun_LOG"
rlRun "popd"
rlPhaseEnd
fi

rlPhaseStartCleanup
rlRun "popd"
Expand Down

0 comments on commit 08134d7

Please sign in to comment.