Commit Graph

12 Commits

Author SHA1 Message Date
Eric Sandeen af44e376ca Fix tests for lazy sb counter defaults
Fix tests which would be affected by a change to lazy-sb
by default.

All tests now explicitly -specify- -l lazy-sb=1 where appropriate,
so this can go in prior to a userspace change.

Unfortunately many of the logprint outputs must just be taken on faith.

Also, the irix flavors for e.g. 018.op.irix will need fixing up
if anyone cares.

This also needs the patch I just sent for xfs_db clearing attr2
in bad_features2 to complete w/o error.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2009-12-02 11:27:49 -06:00
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
Allan Randall be874d4085 Modified noalign to mount option so test would pass on IRIX
Merge of master-melb:xfs-cmds:26468a by kenmcd.

  Modified noalign to mount option so test would pass on IRIX
2006-07-07 16:01:08 +00:00
Nathan Scott 8449a4e3ed Make test 018 work when underlying volume provides stripe alignment info to mkfs.
Merge of master-melb:xfs-cmds:25611a by kenmcd.
2006-03-30 03:54:16 +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
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
ptools 0664352cb8 add couple of v2 su cases 2003-10-01 07:49:36 +00:00
ptools f562507fab update to handle striped v2 logs 2003-10-01 06:52:24 +00:00
ptools d952bf7cea update for version 2 logs 2003-09-30 06:31:43 +00:00
fsgqa f1f2a8713d Rework test 018 slightly so that its more user friendly when it fails 2003-08-29 00:40:24 +00:00