Same as regular zoned, but the previous check didn't work.
Signed-off-by: Christoph Hellwig <hch@lst.de>
# can check that quickly, and we make the bold assumption that the same will
# apply to any scratch fs that might be created.
_require_xfs_rtquota_if_rtdev() {
- test "$USE_EXTERNAL" = "yes" || return
+ if [ "$USE_EXTERNAL" != "yes" ]; then
+ xfs_info "$TEST_DIR" | grep -q 'realtime.*internal' &&
+ _notrun "Quota on internal rt device not supported"
+ fi
if [ -n "$TEST_RTDEV$SCRATCH_RTDEV" ]; then
_xfs_kmod_supports_rtquota || \