From: fsgqa Date: Fri, 9 Jul 2004 04:16:16 +0000 (+0000) Subject: Realtime IO path tests; get local host configs working again. X-Git-Tag: v1.1.0~814 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=149fd556bd3be0b586732969c99be580b065dbdb;p=users%2Fhch%2Fxfstests-dev.git Realtime IO path tests; get local host configs working again. --- diff --git a/common.config b/common.config index 63735098c..f7257387f 100644 --- a/common.config +++ b/common.config @@ -364,7 +364,7 @@ known_hosts() } if [ -f "$HOST_OPTIONS" ]; then - . ./"$HOST_OPTIONS" + . "$HOST_OPTIONS" else known_hosts fi diff --git a/common.rc b/common.rc index ce4254e88..ffd744a05 100644 --- a/common.rc +++ b/common.rc @@ -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() diff --git a/group b/group index a8544bbf0..271fefca6 100644 --- a/group +++ b/group @@ -151,8 +151,11 @@ ioctl nathans@sgi.com 082 log logprint auto 083 rw auto 084 ioctl rw auto -085 log auto -086 log auto -087 log auto +085 log +086 log +087 log 088 perms 089 metadata auto +090 rw +091 rw +092 other auto