summaryrefslogtreecommitdiff
path: root/081
diff options
context:
space:
mode:
authorTim Shimmin <tes@sgi.com>2004-06-21 04:53:35 +0000
committerTim Shimmin <tes@sgi.com>2004-06-21 04:53:35 +0000
commite00912e469d6930ebbbcf1c38ac0676339e90c0a (patch)
tree053e52cc14fb55e2f5b923205e6b65acf9264fc8 /081
parent81f3c307dfd86c59eccb7bcc37de420c5dd8afbc (diff)
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.
Diffstat (limited to '081')
-rwxr-xr-x08114
1 files changed, 11 insertions, 3 deletions
diff --git a/081 b/081
index 98af9e68..0b6101be 100755
--- a/081
+++ b/081
@@ -70,13 +70,21 @@ _require_scratch
echo "*** init FS"
umount $SCRATCH_DEV >/dev/null 2>&1
+
# do a simple quota test to ensure DQUOT data is happening
-export MKFS_OPTIONS="-lversion=1"
-export MOUNT_OPTIONS="-ousrquota,grpquota"
+export MKFS_OPTIONS="-l version=1"
+export MOUNT_OPTIONS="-o quota,gquota"
+
+if [ "$HOSTOS" = "IRIX" ]; then
+ start=0
+else
+ start=2
+fi
+
_mkfs_log
_create_log
_check_log
-_print_transaction_inode 2
+_print_transaction_inode $start
_cmp_output $seq.ugquota.trans_inode $filtered
# got thru it all so we may have success