+
+# setup the .out file link, depending on which form of quota is
+# enabled as this often influences how the test output appears.
+# [NB: SCRATCH_DEV must be mounted for this to work]
+#
+_setup_seq_out()
+{
+ # this lets us phase use of this into the dump/restore tests easier...
+ [ -f $seq.ugquota -a -f $seq.noquota -a $seq.usrquota -a $seq.grpquota ] \
+ || return
+
+ rm -f $seq.out
+ if src/feature -U $SCRATCH_DEV
+ then
+ if src/feature -G $SCRATCH_DEV
+ then
+ ln $seq.ugquota $seq.out
+ else
+ ln $seq.usrquota $seq.out
+ fi
+ elif src/feature -G $SCRATCH_DEV
+ then
+ ln $seq.grpquota $seq.out
+ else
+ ln $seq.noquota $seq.out
+ fi
+}
+
+