Skip to content

Commit

Permalink
loop/010: skip when kernel is older than v6.11
Browse files Browse the repository at this point in the history
Patch fixing test case issue which use to failed in old kernel, this
patch skip test case if test runs in older kernel less than 6.11

log:

[root@linux blktests]#  ./check loop/010
loop/010 (check stale loop partition)                        [not run]
    Kernel version too old

Signed-off-by: Praveen K Pandey <praveen@linux.vnet.ibm.com>
[Shin'ichiro: fixed trailing space, indent tab and commit message]
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
  • Loading branch information
PraveenPenguin authored and kawasaki committed Jul 17, 2024
1 parent 775a058 commit f79783b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/loop/010
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ DESCRIPTION="check stale loop partition"
TIMED=1

requires() {
_have_kver 6 11
_have_program parted
_have_program mkfs.xfs
}
Expand Down

0 comments on commit f79783b

Please sign in to comment.