Commit Graph

8 Commits

Author SHA1 Message Date
David Disseldorp 9f01882691 For XFSQA test 018 081 082 095 the test specifies test wide mkfs options using MKFS_OPTIONS env var.
Further mkfs options are then appended by _mkfs_log at mkfs time with _scratch_mkfs_xfs.

Currently there are a few ways mkfs options are specified in XFSQA:
1) suite wide MKFS_OPTIONS are specified before tests are run
        e.g.
        vimes:/home/fsgqa/kali/xfsqa/xfstests # export MKFS_OPTIONS="-l size=100m"

2) test wide MKFS_OPTIONS are specified during a particular test
        e.g. 119
        export MKFS_OPTIONS="-l version=2,size=1200b,su=64k"

3) mkfs options are appended by a test at mkfs time
        e.g.  083
        _scratch_mkfs_xfs -dsize=$fsz,agcount=$ags  >>$seq.full

(4) Another form of appending is just appending to MKFS_OPTIONS directly
        e.g.    114:export MKFS_OPTIONS="$MKFS_OPTIONS -i parent=1"
                115:export MKFS_OPTIONS="$MKFS_OPTIONS -i paths=1"


e.g. Methods (2) *and* (3) for specifiying mkfs options are used in these tests.
This causes problems, because the mkfs options fallback code assumes the
_mkfs_log _scratch_mkfs_xfs appended options are the only test specified options.

This change causes tests using _mkfs_log to only use option (2).
~
~
Merge of master-melb:xfs-cmds:29031a by kenmcd.
2007-06-29 16:06:04 +00:00
Tim Shimmin f4375d0da5 Fix v2 log scripts so that they are not run if v2 log support is not there. 2004-08-13 13:06:25 +00:00
Tim Shimmin e00912e469 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.
2004-06-21 04:53:35 +00:00
ptools 7facbfb74b Fix merge issues.
Removed debug flag.
2004-06-16 05:38:57 +00:00
ptools c3b91bfb75 Fix up output for mkfs failure with logsize not a multiple
of stripe size. With impending mkfs change this should always
happen not just for non-aligned logs.
Fix up output for mkfs failure with logsize not a multiple  
of stripe size. With impending mkfs change this should always
happen not just for non-aligned logs.
2004-02-20 04:15:18 +00:00
ptools 26b87fd5f5 Try to simplify log QA with mnt and mkfs options.
Add new test 086 for log replay with v2 logs.
Need to write more tests with varying metadata ops.
simplify
2004-02-13 04:31:25 +00:00
ptools 56fbca73be Simplify and hopefully make more repeatable log/logprint
QA testing.
Get rid of unnecessary noquota suffix in name.
2004-02-12 03:30:50 +00:00
ptools 3e9cc2ce79 Split up v2 log testing 2003-10-06 07:46:19 +00:00