forked from Mirrors/btrfs-progs
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>master
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