On Wed, Jan 21, 2026 at 12:11:40PM +0100, Thomas Huth wrote:
> From: Thomas Huth <[email protected]>
> 
> The memlock test analyzes /proc/*/status files and expects the layout
> from Linux in there. However, these files also exist on NetBSD hosts
> with a completely different layout, causing this test to fail. Thus
> limit the test to Linux hosts now. We already have a decorator to
> skip a test if it is running on a certain host system, but in this
> case, we rather want to skip if we are not running on a specific
> host system, so introduce a new @skipUnlessOperatingSystem decorator
> for this job.
> 
> Signed-off-by: Thomas Huth <[email protected]>
> ---
>  v2: Check via a decorator, not via meson.build file
> 
>  tests/functional/qemu_test/__init__.py   |  4 ++--
>  tests/functional/qemu_test/decorators.py | 12 ++++++++++++
>  tests/functional/x86_64/test_memlock.py  |  3 ++-
>  3 files changed, 16 insertions(+), 3 deletions(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


Reply via email to