Skip to content

Commit

Permalink
Merge pull request #1376 from ukleinek/check-faketime
Browse files Browse the repository at this point in the history
test/rauc.t: test faketime before relying on it
  • Loading branch information
jluebbe committed Apr 5, 2024
2 parents cadd397 + cc8f274 commit 88b1192
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/rauc.t
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ test -f ${SOFTHSM2_MOD} &&
test_set_prereq PKCS11

# Prerequisite: faketime available [FAKETIME]
# On some platforms faketime is broken, see e.g. https://github.com/wolfcw/libfaketime/issues/418
# Only use it if it works for date
faketime "2018-01-01" date &&
faketime "2018-01-01" date -R | grep "Jan 2018" &&
test_set_prereq FAKETIME

# Prerequisite: grub-editenv available [GRUB]
Expand Down

0 comments on commit 88b1192

Please sign in to comment.