mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
config: make sure tests check for loop device support
Several tests happen to make use of loop device support without the requisite pre-test checks. This results in spurious failures for systems that might not have loop device support. Add _require_loop checks to shared/298, xfs/206 and xfs/259. Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
committed by
Dave Chinner
parent
fe3fcf26d2
commit
9b7f704ca3
@@ -53,6 +53,7 @@ _cleanup()
|
||||
# Modify as appropriate.
|
||||
_supported_fs xfs
|
||||
_supported_os IRIX Linux
|
||||
_require_loop
|
||||
|
||||
bitsperlong=`src/feature -w`
|
||||
if [ "$bitsperlong" -ne 64 ]; then
|
||||
|
||||
Reference in New Issue
Block a user