[Devel] [PATCH hci-8.1 v3 0/2] selftests: pstore: fix backend/frontend skip

Konstantin Khorenko khorenko at virtuozzo.com
Fri Sep 25 17:57:19 MSK 2026


On Fri, 25 Sep 2026 16:18:51 +0300, Eva Kurchatova wrote:
> selftests: pstore: fix backend/frontend skip
> 
> Patchset for task https://virtuozzo.atlassian.net/browse/VSTOR-142447.
> 
> Changes in v3:
> 
> 1/2:
> - Print "ok" with prlog once the backend check has passed.
>   This can never set rc, so the "if [ $rc -ne 0 ]" exit below it was
>   unreachable; drop it.
> - Drop one of the two blank lines left in pstore_post_reboot_tests
>   where ksft_skip was defined.
> - Rewrite the message: the existing check tests the exit status of
>   cat, not the value it reads, which is why it passes on an
>   unregistered backend. "latter" -> "later".
> - Cut the comment above the check to one line.
> 
> [...]

Applied to branch-rh10-6.12.0-211.52.1.22.x.vz10-ovz, will be released in rh10-6.12.0-211.52.1.22.4.vz10, thanks!

[1/2] selftests: pstore: skip when no backend is registered
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/bfcab3ff8e07
[2/2] selftests: pstore: skip the frontends the kernel does not have
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/03a6f36081f7

-- 
Konstantin Khorenko <khorenko at virtuozzo.com>



More information about the Devel mailing list