mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-22 14:13:04 +00:00
btrfs-progs: tests: check for partscan support in misc/006-partitioned-loopdev
The travis CI does not have losetup with --partscan, skip the check in that case so we can still run the mkfs testsuite. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
4927705d6f
commit
8fe3a7bfd0
@ -3,6 +3,11 @@
|
||||
|
||||
source $TOP/tests/common
|
||||
|
||||
if ! losetup --help | grep -q 'partscan'; then
|
||||
_not_run "losetup --partscan not available"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
check_prereq mkfs.btrfs
|
||||
|
||||
setup_root_helper
|
||||
|
Loading…
Reference in New Issue
Block a user