##/bin/sh
#
-# Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved.
+# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as
_notrun "Large filesystem testing in progress, skipped this test"
}
+# this test requires that a realtime subvolume is in use, and
+# that the kernel supports realtime as well.
+#
+_require_realtime()
+{
+ [ "$USE_EXTERNAL" = yes ] || \
+ _notrun "External volumes not in use, skipped this test"
+ [ "$SCRATCH_RTDEV" = "" ] && \
+ _notrun "Realtime device required, skipped this test"
+}
+
# this test requires that external log/realtime devices are not in use
#
_require_nonexternal()