Realtime IO path tests; get local host configs working again.

This commit is contained in:
fsgqa
2004-07-09 04:16:16 +00:00
parent af9fb020ce
commit 149fd556bd
3 changed files with 19 additions and 5 deletions
+12 -1
View File
@@ -1,6 +1,6 @@
##/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
@@ -592,6 +592,17 @@ _require_nobigloopfs()
_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()