mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common: remove _require_no_rtinherit
All the remaining tests that use _require_no_rtinherit can be adapted to ignore SCRATCH_RTDEV or to force files to be created on the data device. This makes the helper unnecessary and increases test coverage, so remove this helper. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
acb981a4e5
commit
0ac0d8fbf9
@@ -6,16 +6,6 @@
|
||||
|
||||
BC=$(which bc 2> /dev/null) || BC=
|
||||
|
||||
# Some tests are not relevant or functional when testing XFS realtime
|
||||
# subvolumes along with the rtinherit=1 mkfs option. In these cases,
|
||||
# this test will opt-out of the test.
|
||||
_require_no_rtinherit()
|
||||
{
|
||||
[ "$FSTYP" = "xfs" ] && echo "$MKFS_OPTIONS" |
|
||||
egrep -q "rtinherit([^=]|=1|$)" && \
|
||||
_notrun "rtinherit mkfs option is not supported by this test."
|
||||
}
|
||||
|
||||
_require_math()
|
||||
{
|
||||
if [ -z "$BC" ]; then
|
||||
|
||||
Reference in New Issue
Block a user