diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-08-29 17:07:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2024-08-30 14:17:36 +0200 |
commit | 379e088f6f34c63eb72fba78f70bd7168cc547b2 (patch) | |
tree | 188bc511a331b4dc3958fc50f0843841b770c11a /src/test | |
parent | crypenroll: make slot wiping on pin change a bit more explicit (diff) | |
download | systemd-379e088f6f34c63eb72fba78f70bd7168cc547b2.tar.xz systemd-379e088f6f34c63eb72fba78f70bd7168cc547b2.zip |
test: when refusing to run slow tests, mention how to run them
Let's be helpful and provide an actionable hint.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-tpm2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-tpm2.c b/src/test/test-tpm2.c index 3b5a375c88..2be104d853 100644 --- a/src/test/test-tpm2.c +++ b/src/test/test-tpm2.c @@ -1179,7 +1179,7 @@ static int check_calculate_seal(Tpm2Context *c) { int r; if (detect_virtualization() == VIRTUALIZATION_NONE && !slow_tests_enabled()) { - log_notice("Skipping slow calculate seal TPM2 tests. Physical system detected, and slow tests disabled."); + log_notice("Skipping slow calculate seal TPM2 tests. Physical system detected, and slow tests disabled. (To enable, run again with $SYSTEMD_SLOW_TESTS=1.)"); return 0; } @@ -1257,7 +1257,7 @@ static void check_seal_unseal(Tpm2Context *c) { assert(c); if (detect_virtualization() == VIRTUALIZATION_NONE && !slow_tests_enabled()) { - log_notice("Skipping slow seal/unseal TPM2 tests. Physical system detected, and slow tests disabled."); + log_notice("Skipping slow seal/unseal TPM2 tests. Physical system detected, and slow tests disabled. (To enable, run again with $SYSTEMD_SLOW_TESTS=1.)"); return; } |