From: Karel Zak Date: Tue, 9 Jun 2026 13:03:04 +0000 (+0200) Subject: tests: remove loop devices from lsblk bcachefs dump X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb2948c2fffd5d6e469ce3ec1ba1e28843987e99;p=thirdparty%2Futil-linux.git tests: remove loop devices from lsblk bcachefs dump The loop device infrastructure does not support sysfs dump-based data. When lsblk runs with --sysroot, the ignore_empty() function calls loopdev_has_backing_file() which operates on the real /dev/loopN device rather than the sysroot data. This causes host-dependent test results -- if the CI machine has a loop device with a backing file, the device appears in the output despite having size 0 in the dump. Remove loop0 and loop1 entries from the multi-devs-bcachefs sysfs dump to avoid this false positive. Signed-off-by: Karel Zak --- diff --git a/tests/ts/lsblk/dumps/multi-devs-bcachefs.tar.xz b/tests/ts/lsblk/dumps/multi-devs-bcachefs.tar.xz index 1f69e8842..8a0389f47 100644 Binary files a/tests/ts/lsblk/dumps/multi-devs-bcachefs.tar.xz and b/tests/ts/lsblk/dumps/multi-devs-bcachefs.tar.xz differ