Commit Graph

948 Commits

Author SHA1 Message Date
Barry Naujok 47ce499d64 Fix up QA for xfsprogs 2.9.x
Merge of master-melb:xfs-cmds:29298a by kenmcd.

  Golden output is slightly wrong for xfs_repair 2.9.2+
2007-08-02 06:20:02 +00:00
Mohamed Barwani f9ab891b3a Create test 178 as described by bnaujok.
Merge of master-melb:xfs-cmds:29273a by kenmcd.

  New Test
2007-07-30 15:59:01 +00:00
Lachlan McIlroy d671606385 Fix build failure.
Merge of master-melb:xfs-cmds:29235a by kenmcd.

  Fix build failure.
2007-07-26 21:25:32 +00:00
David Disseldorp 4459267d2c use dd and lmdd for proper direct/buffered IO on linux and irix
Merge of master-melb:xfs-cmds:29214a by kenmcd.
2007-07-24 16:08:47 +00:00
Mohamed Barwani b1d0b1cb9d intigrate bulkstat_unlink_test into XFS-QA
Merge of master-melb:xfs-cmds:29213a by kenmcd.

  New XFSQA test
2007-07-24 16:08:02 +00:00
David Disseldorp 2bf01dc5c4 - OS common filestreams timeout change function
- use xfs_io instead of dd (working direct io)
        - no filestreams directory flags, just use the mount option
Merge of master-melb:xfs-cmds:29185a by kenmcd.
2007-07-20 04:11:09 +00:00
Barry Naujok 9d0da8e0da Update QA tests for new lost+found behaviour
Merge of master-melb:xfs-cmds:29145a by kenmcd.

  Update QA tests for new lost+found behaviour
2007-07-16 15:54:28 +00:00
David Disseldorp 06fe95c24e Inserting a small (2s) sleep after starting print_event.
Merge of master-melb:xfs-cmds:29094a by kenmcd.
2007-07-09 06:15:49 +00:00
David Disseldorp c483c40dbe remove .full file before running test
Merge of master-melb:xfs-cmds:29091a by kenmcd.
2007-07-06 06:10:31 +00:00
David Disseldorp 0a74286f0a file size consistantcy test
Merge of master-melb:xfs-cmds:29085a by kenmcd.
2007-07-06 04:05:35 +00:00
David Disseldorp 72b4e6cb85 A recent change to XFSQA to resolve mkfs option conflicts means mkfs can be run twice per _scratch_mkfs_xfs:
$MKFS_XFS_PROG $SCRATCH_OPTIONS $MKFS_OPTIONS $extra_mkfs_options $SCRATCH_DEV
    local mkfs_status=$?

    # a mkfs failure may be caused by conflicts between
    # $MKFS_OPTIONS and $extra_mkfs_options

    if [ $mkfs_status -ne 0 -a ! -z "$extra_mkfs_options" ]; then
        echo "** mkfs failed with extra mkfs options added to \"$MKFS_OPTIONS\" by test $seq **" \
            >>$here/$seq.full
        echo "** attempting to mkfs using only test $seq options: $extra_mkfs_options **" \
            >>$here/$seq.full
        $MKFS_XFS_PROG $SCRATCH_OPTIONS $extra_mkfs_options $SCRATCH_DEV
        mkfs_status=$?
    fi

In the case of a failure caused by conflict between $MKFS_OPTIONS and $extra_mkfs_options,
the mkfs output is shown twice, first off is the failed mkfs output, secondly the resolved mkfs output.

This can cause QA failures for a number of tests, particularly those that filter the mkfs output.

This change shows only the applied (final) mkfs output from _scratch_mkfs_xfs.
Merge of master-melb:xfs-cmds:29041a by kenmcd.
2007-07-03 04:01:25 +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
David Disseldorp dd3adfb6f0 Avoid mkfs options conflict, use minimal mkfs options to create loopfs.
Merge of master-melb:xfs-cmds:29028a by kenmcd.
2007-06-29 06:16:22 +00:00
Dave Chinner 373683715e Make sure we take into account newly reserved blocks as introduced
in 964468.
Merge of master-melb:xfs-cmds:29013a by kenmcd.
2007-06-28 15:57:56 +00:00
Dave Chinner 15b4c8d2ad QA tests for filestreams
Merge of master-melb:xfs-cmds:29011a by kenmcd.

  QA tests for filestreams
2007-06-28 15:57:11 +00:00
David Disseldorp f2f5c7b9be change galah QA devs & scratch mount point
Merge of master-melb:xfs-cmds:29001a by kenmcd.
2007-06-27 04:06:04 +00:00
Dave Chinner f64b53535e Make sure 167 completes and unmounts scratch correctly
Merge of master-melb:xfs-cmds:28942a by kenmcd.

  run a sync after killing all the fsstress processes to ensure
  they have all completed before trying to unmount scratch.
2007-06-20 06:15:19 +00:00
Dave Chinner 812b331b29 Clean up whitespace problems with 166.
Merge of master-melb:xfs-cmds:28941a by kenmcd.

  Don't leave trailing whitespace at EOL when filtering output.
2007-06-20 06:14:34 +00:00
Dave Chinner 243826007f add null files tests to auto group
Merge of master-melb:xfs-cmds:28940a by kenmcd.

  leave bad files around for post mortem on failure.
2007-06-20 06:13:49 +00:00
David Disseldorp 1d315d6785 XFSQA 073 is still not correctly cleaning up $tmp,
this is because $tmp.source_dir is not an empty dir.

This change recursively deletes everything in $tmp.source_dir.
Not required for $tmp.loop as it is used as a loopback mountpoint.

the ignore external MKFS_OPTIONS change is no longer required,
as _scratch_mkfs_xfs now handles conflicting options.
Merge of master-melb:xfs-cmds:28863a by kenmcd.

  cleanup tmp and don't kill mkfs options
2007-06-08 16:24:08 +00:00
David Disseldorp 888b474e69 This test enables dmapi return_on_destroy and captures dmapi events
generated by two create/removes. One with file attibutes set, one without.

A dmapi destroy event should be generated in both cases, however PV960928
has shown that it may not be when attributes are not set.
Merge of master-melb:xfs-cmds:28771a by kenmcd.

  test
2007-06-04 06:13:28 +00:00
Dave Chinner b4b13ee325 Make sure the repair tests dirty the filesystem before corrupting it.
Merge of master-melb:xfs-cmds:28770a by kenmcd.

  Make sure the repair tests dirty the filesystem before corrupting it.
2007-06-04 06:12:42 +00:00
Dave Chinner 707df41353 QA test to exercise unwritten extent conversion for sync direct I/O
Merge of master-melb:xfs-cmds:28769a by kenmcd.

  QA test to exercise unwritten extent conversion for sync direct I/O.
2007-06-04 06:11:56 +00:00
fergalh.longdrop.melbourne.sgi.com 512f8130f2 Changed kermit xfsqa targets
Merge of master-melb:xfs-cmds:28706a by kenmcd.

  Changed kermit xfsqa targets
2007-05-25 06:07:23 +00:00
leenap.longdrop.melbourne.sgi.com 8876ff2c2d Adding devices for rizzo to do xfs-qa
Merge of master-melb:xfs-cmds:28644a by kenmcd.

  Adding devices for rizzo to do xfs-qa
2007-05-22 04:03:50 +00:00