Modify log/v2-log qa tests to run on IRIX as well as Linux.

Cater for IRIX without unmount record at start of log and for
IRIX' hopeless mount option handling.
This commit is contained in:
Tim Shimmin
2004-06-21 04:53:35 +00:00
parent 81f3c307df
commit e00912e469
19 changed files with 10631 additions and 101 deletions
+7 -3
View File
@@ -42,10 +42,14 @@ _require_quota()
src/feature -q $TEST_DEV
[ $? -ne 0 ] && _notrun "Installed kernel does not support XFS quota"
[ ! -x /sbin/quotaon ] && _notrun "Quota user tools not installed"
if [ "$HOSTOS" = "IRIX" ]; then
[ ! -x /usr/etc/quotaon ] && _notrun "Quota user tools not installed"
else
[ ! -x /sbin/quotaon ] && _notrun "Quota user tools not installed"
/sbin/quotaon -x 2>&1 | grep "option requires an argument -- x" >/dev/null
[ $? -ne 0 ] && _notrun "Installed quota tools do not support XFS"
/sbin/quotaon -x 2>&1 | grep "option requires an argument -- x" >/dev/null
[ $? -ne 0 ] && _notrun "Installed quota tools do not support XFS"
fi
}
# create a file as a specific user (uid)