Commit Graph

16 Commits

Author SHA1 Message Date
Tim Shimmin 4bd0a41d83 Filter out onlink (because of v2 inodes by default) and gen# (because of random generation).
Merge of master-melb:xfs-cmds:31049a by kenmcd.

  Filter out onlink (because of v2 inodes by default) and gen# (because of random generation).
2008-05-09 04:37:54 +00:00
Niv Sardi c77cdc9151 Update xfstests for new mkfs output
Update test 082 for new filtred output
    Update test 081 for new filtred output
    Update test 018 for new filtred output
    xfstests: filter out logprint inode version (and format)
Merge of master-melb:xfs-cmds:30583a by kenmcd.
2008-02-27 03:22:03 +00: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
Nathan Scott 422b6d5a86 Make test 081 work with external log/rt devices too.
Merge of master-melb:xfs-cmds:26376a by kenmcd.
2006-06-29 15:33:01 +00:00
Tim Shimmin 7f15905688 filter out in the logprint filter, the new flags field that I added
for buf items - it's not useful for checking it generally.
Merge of master-melb:xfs-cmds:26358a by kenmcd.

  filter out in the logprint filter, the new flags field that I added
  for buf items - it's not useful for checking it generally.
2006-06-27 15:34:39 +00:00
Nathan Scott d259454b19 Update copyright annotations and license boilerplates to correspond with SGI Legals preferences.
Merge of master-melb:xfs-cmds:24329a by kenmcd.
2005-11-09 02:50:19 +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 4c56e56f91 xfs qa changes to get thinks working on irix
add verbosity to a file for debugging
reduce iteration count
2004-08-10 03:55:47 +00:00
Eric Sandeen b045bf2f41 fix up xfstests for realtime fs
Filter out inode numbers; these change with realtime
2004-06-25 03:09:08 +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 cb6beb9759 Fixed merge problems 2004-06-15 07:32:36 +00:00
ptools 5b1531e8a8 only create a fulldir if need one
only create a fulldir if need one
2004-02-13 04:56:03 +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 62f10f75b7 Fix up failure of log qa test 018 due to running with Electric Fence
and somehow me not checking in my 018.noquota.op change in ages ago
and left in my workarea.
This change was done at the time of a change to common.log but somehow
didn't get checked in.
2004-01-21 00:43:00 +00:00
ptools 3e9cc2ce79 Split up v2 log testing 2003-10-06 07:46:19 +00:00