xfstests-dev.git
16 years agoFinish TAKE, the last one lacked the Makefile modifications.
Niv Sardi [Thu, 27 Mar 2008 03:18:28 +0000 (03:18 +0000)]
Finish TAKE, the last one lacked the Makefile modifications.
Merge of master-melb:xfs-cmds:30720a by kenmcd.

16 years agoadd dump/restore paths to xfstests/common.dump and set up path for bc
Tim Shimmin [Wed, 26 Mar 2008 03:28:24 +0000 (03:28 +0000)]
add dump/restore paths to xfstests/common.dump and set up path for bc
Merge of master-melb:xfs-cmds:30712a by kenmcd.

  add dump/restore paths to xfstests/common.dump and set up path for bc

16 years agoXFSQA 103: filter ln output
Dave Chinner [Wed, 26 Mar 2008 03:27:32 +0000 (03:27 +0000)]
XFSQA 103: filter ln output

More recent versions of ln (version >= 6.0) have a different error
output. update the filter to handle this.
Merge of master-melb:xfs-cmds:30705a by kenmcd.

  update filter to handle new ln error output.

16 years agoMake test 141 work on 64k page size machines
Dave Chinner [Tue, 25 Mar 2008 05:20:38 +0000 (05:20 +0000)]
Make test 141 work on 64k page size machines

Make the file larger and read 64k from it instead of 16k
so that it pulls in a full page from the middle of the file.
Merge of master-melb:xfs-cmds:30703a by kenmcd.

  Use a large file and 64k I/O size so the test works on 64k page
  size machines.

16 years agoxfsqa test 166 fails on 64k page machine
Dave Chinner [Tue, 25 Mar 2008 05:19:50 +0000 (05:19 +0000)]
xfsqa test 166 fails on 64k page machine

test 166 output is dependent on page size (mmap related). Make
the output filter turn the output into something independent of
page size whilst checking that the output is valid.
Merge of master-melb:xfs-cmds:30702a by kenmcd.

  Make the file size and I/O size large enough that 64k pages are
  handled correctly.

16 years ago054 needs quota support to run, but doesn't make that explicit.
Niv Sardi [Tue, 25 Mar 2008 05:19:01 +0000 (05:19 +0000)]
054 needs quota support to run, but doesn't make that explicit.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Merge of master-melb:xfs-cmds:30700a by kenmcd.

  054 needs quota support to run, but doesn't make that explicit.

16 years agochange emu owner
Tim Shimmin [Tue, 25 Mar 2008 05:18:12 +0000 (05:18 +0000)]
change emu owner
Merge of master-melb:xfs-cmds:30698a by kenmcd.

  change emu owner

16 years agoTake out fsgqa user requirement as it isn't used
Barry Naujok [Wed, 19 Mar 2008 15:33:35 +0000 (15:33 +0000)]
Take out fsgqa user requirement as it isn't used
Merge of master-melb:xfs-cmds:30691a by kenmcd.

  Take out fsgqa user requirement as it isn't used

16 years agoAdd test to group file
Niv Sardi [Wed, 19 Mar 2008 05:17:32 +0000 (05:17 +0000)]
Add test to group file
Merge of master-melb:xfs-cmds:30690a by kenmcd.

16 years agoFix up QA tests for mkfs behaviour changes
Barry Naujok [Wed, 19 Mar 2008 03:18:01 +0000 (03:18 +0000)]
Fix up QA tests for mkfs behaviour changes
Merge of master-melb:xfs-cmds:30689a by kenmcd.

  Force the agcount to 6 to keep behaviour the same as old and new

16 years agoAdd xfsprogs version number as environment variable for QA
Barry Naujok [Fri, 14 Mar 2008 03:18:10 +0000 (03:18 +0000)]
Add xfsprogs version number as environment variable for QA
Merge of master-melb:xfs-cmds:30672a by kenmcd.

  Add xfsprogs version number as environment variable for QA

16 years agointroducing lsqa.pl [ --help | -? ] [ --head | -h ] [ --body | -b ] [ --lines | ...
Niv Sardi [Wed, 12 Mar 2008 05:22:38 +0000 (05:22 +0000)]
introducing lsqa.pl [ --help | -? ] [ --head | -h ] [ --body | -b ] [ --lines | -l ] [ --one-line | -1 ]
[ --help | -? ]  Show this help message.
[ --head | -h ]  Shows only the head of the QA test
[ --body | -b ]  Shows only the body of the QA test.
[ --lines | -l ]  Outputs everything in n lines
[ --one-line | -1 ]  Same as --lines=1.
Merge of master-melb:xfs-cmds:30646a by kenmcd.

16 years agoFix golden output for QA 078
Barry Naujok [Wed, 5 Mar 2008 05:25:08 +0000 (05:25 +0000)]
Fix golden output for QA 078
Merge of master-melb:xfs-cmds:30616a by kenmcd.

  Fix golden output for QA 078

16 years agoUpdate xfstests for new mkfs output
Niv Sardi [Wed, 27 Feb 2008 03:22:03 +0000 (03:22 +0000)]
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.

16 years agoxfstests: add test 185, Dmapi Punch/Probe Alignment compared to xfsctl(FREESPACE),
Niv Sardi [Wed, 27 Feb 2008 03:20:18 +0000 (03:20 +0000)]
xfstests: add test 185, Dmapi Punch/Probe Alignment compared to xfsctl(FREESPACE),

tests PV 976771, by trying to punch a hole that's not page aligned but block aligned
Merge of master-melb:xfs-cmds:30582a by kenmcd.

  New QA test

16 years agofix XFSQA #184 for multiple invocations
Lachlan McIlroy [Mon, 25 Feb 2008 05:19:03 +0000 (05:19 +0000)]
fix XFSQA #184 for multiple invocations

Make sure the device node is removed before creating it to allow running
the testcase multiple times without recreating the filesystem.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of master-melb:xfs-cmds:30540a by kenmcd.

  fix XFSQA #184 for multiple invocations

16 years agoAdded a new machine to run auot XFSQA.
Mohamed Barwani [Fri, 25 Jan 2008 03:12:20 +0000 (03:12 +0000)]
Added a new machine to run auot XFSQA.
Merge of master-melb:xfs-cmds:30424a by kenmcd.

16 years agoFix the file size checks so it works on IRIX too.
Lachlan McIlroy [Tue, 15 Jan 2008 14:59:05 +0000 (14:59 +0000)]
Fix the file size checks so it works on IRIX too.
Merge of master-melb:xfs-cmds:30336a by kenmcd.

  Fix the file size checks so it works on IRIX too.

16 years agosource /etc/xfsqa.config
Niv Sardi [Thu, 3 Jan 2008 05:16:17 +0000 (05:16 +0000)]
source /etc/xfsqa.config

This is used by uml.sh script to generate proper per-generic machine configs for xfsqa
Merge of master-melb:xfs-cmds:30294a by kenmcd.

16 years agoXFSQA cleanup, add per host config files.
Niv Sardi [Thu, 3 Jan 2008 05:15:27 +0000 (05:15 +0000)]
XFSQA cleanup, add per host config files.

    This patche adds a new file in ./configs for each host that was
    in the monolithic (ugly) common.config file.

    the files have been auto-generated and might contain some quircks.

    The in-source documentation has been updated as well.
Merge of master-melb:xfs-cmds:30293a by kenmcd.

16 years agoAdd mknod sanity test.
Dave Chinner [Wed, 19 Dec 2007 05:14:33 +0000 (05:14 +0000)]
Add mknod sanity test.
Merge of master-melb:xfs-cmds:30274a by kenmcd.

  mknod sanity test

16 years agoAdd some code to the tree walking to better handle file descriptors.
Tim Shimmin [Tue, 4 Dec 2007 05:10:47 +0000 (05:10 +0000)]
Add some code to the tree walking to better handle file descriptors.
Merge of master-melb:xfs-cmds:30192a by kenmcd.

16 years agoAdded config for new mahcine
leenap.longdrop.melbourne.sgi.com [Fri, 30 Nov 2007 15:08:55 +0000 (15:08 +0000)]
Added config for new mahcine
Merge of master-melb:xfs-cmds:30168a by kenmcd.

  added config for new machine

16 years agoFix the intermittent test failure due to the failure of mkfs.
Mohamed Barwani [Fri, 30 Nov 2007 05:14:17 +0000 (05:14 +0000)]
Fix the intermittent test failure due to the failure of mkfs.
Merge of master-melb:xfs-cmds:30166a by kenmcd.

  remove an extra redundand argument to mkfs which causes the failure of mkfs.

16 years agoChange common mkfs filter to fit the new changes.
Mohamed Barwani [Fri, 30 Nov 2007 03:07:14 +0000 (03:07 +0000)]
Change common mkfs filter to fit the new changes.
Merge of master-melb:xfs-cmds:30162a by kenmcd.

  explicitly mention the log version instead of assuming the default, with further filter changes.

16 years agofix up tree walking with symlinks for attr
Tim Shimmin [Wed, 21 Nov 2007 05:15:35 +0000 (05:15 +0000)]
fix up tree walking with symlinks for attr
Merge of master-melb:xfs-cmds:30110a by kenmcd.

  Update the output now that getfattr code has changed with new
  tree walking code.

16 years agoStop creating shit files.
Tim Shimmin [Fri, 2 Nov 2007 05:15:58 +0000 (05:15 +0000)]
Stop creating shit files.
Merge of master-melb:xfs-cmds:30010a by kenmcd.

  Stop creating shit files.

16 years agoAdded a check for disk space..
Mohamed Barwani [Thu, 1 Nov 2007 03:11:35 +0000 (03:11 +0000)]
Added a check for disk space..
Merge of master-melb:xfs-cmds:29995a by kenmcd.

  Check if there is enough disk space to run this test..

16 years agoModify the group file to add new test.
Mohamed Barwani [Tue, 30 Oct 2007 14:51:28 +0000 (14:51 +0000)]
Modify the group file to add new test.
Merge of master-melb:xfs-cmds:29988a by kenmcd.

  Add test 183 with the following group [rw, auto, other].

16 years agoRemove a redundant line.
Mohamed Barwani [Tue, 30 Oct 2007 03:07:42 +0000 (03:07 +0000)]
Remove a redundant line.
Merge of master-melb:xfs-cmds:29978a by kenmcd.

  Removed a redundant line and added some extra debug info.

16 years agoRefresh golden output for test 177
Niv Sardi [Fri, 26 Oct 2007 16:08:10 +0000 (16:08 +0000)]
Refresh golden output for test 177

Some changes in the bulkstat binary test (see former commits)
change the output of 177, here is the refreshed one.
SGI-Git-Id: 21f80cf802b520f713d8fc78a871af623acd77f1
SGI-Git-Author: Niv Sardi-Altivanik  <xaiki@chook.melbourne.sgi.com>
SGI-Git-Date: Wed, 24 Oct 2007 15:54:46 +1000
Merge of master-melb:xfs-cmds:29969a by kenmcd.

16 years agoRefresh golden output for test 177
Niv Sardi [Fri, 26 Oct 2007 16:06:38 +0000 (16:06 +0000)]
Refresh golden output for test 177

Some changes in the bulkstat binary test (see former commits)
change the output of 177, here is the refreshed one.
SGI-Git-Id: b1579451b2454e6a9893ad43c7d3de5f6a8a336c
SGI-Git-author: Niv Sardi-Altivanik  <xaiki@chook.melbourne.sgi.com>
SGI-Git-date: Wed, 24 Oct 2007 15:54:46 +1000
Merge of master-melb:xfs-cmds:29966a by kenmcd.

16 years agoAdd QA test 183
Niv Sardi [Fri, 26 Oct 2007 16:05:51 +0000 (16:05 +0000)]
Add QA test 183

(whitespace cleanups)

This test calls the new bulkstat_unlink_test with the -r switch

The patch contains the test, as well as the golden output.
SGI-Git-Id: a0d3341757e6013feaed7f630f3afc061f743059
SGI-Git-author: Niv Sardi-Altivanik  <xaiki@chook.melbourne.sgi.com>
SGI-Git-date: Wed, 24 Oct 2007 15:52:25 +1000
Merge of master-melb:xfs-cmds:29965a by kenmcd.

16 years agoAdd -r switch to src/bulkstat_unlink_test.c needed for QA test 183
Niv Sardi [Fri, 26 Oct 2007 16:05:04 +0000 (16:05 +0000)]
Add -r switch to src/bulkstat_unlink_test.c needed for QA test 183

(whitespace cleanups)

This patch adds a -r switch (using getopt as suggested by dchinner)
to src/bulkstat_unlink_test.c, that will implement the additional checks
described by vlad in PV 972128.

Basically we:
* Save the inode count in scount.
* Create nfiles new files (passed as argument).
* Open those nfiles.
* Unlink the files.
* Check that the inode count is greater than scount.
* close the files.
* Check that the inode count is the same as scount.

This patch also introduces more info on failure (Line number and file) before the exit()s, as well
as comments describing what we are doing.

This patch is to be used by QA test 183
SGI-Git-Id: 4ab8fa354f79070b4ba87cb09c4326d62da824fd
SGI-Git-author: Niv Sardi-Altivanik  <xaiki@chook.melbourne.sgi.com>
SGI-Git-date: Wed, 24 Oct 2007 13:24:27 +1000
Merge of master-melb:xfs-cmds:29964a by kenmcd.

16 years agoXFSQA: add per host config files.
Niv Sardi [Fri, 26 Oct 2007 04:12:30 +0000 (04:12 +0000)]
XFSQA: add per host config files.

This commit adds the config files needed by the former commit.

SGI-Git-Id: f8cdf13f2744d3692639297404cb9d058c6c5665
SGI-Git-author: Niv Sardi-Altivanik  <xaiki@chook.melbourne.sgi.com>
SGI-Git-date: Thu, 25 Oct 2007 13:43:59 +1000
Merge of master-melb:xfs-cmds:29963a by kenmcd.

16 years agoThis patche adds a new file in ./configs for each host that was
Niv Sardi [Thu, 25 Oct 2007 04:16:09 +0000 (04:16 +0000)]
This patche adds a new file in ./configs for each host that was
in the monolithic (ugly) common.config file.

the files have been auto-generated and might contain some quircks.

The in-source documentation has been updated as well.
Merge of master-melb:xfs-cmds:29952a by kenmcd.

  487 +++---------------------------------------------

16 years agoAdd extra test cases for growfs
Mohamed Barwani [Tue, 9 Oct 2007 06:11:20 +0000 (06:11 +0000)]
Add extra test cases for growfs
Merge of master-melb:xfs-cmds:29854a by kenmcd.

  Modify the loop back grow function to include a flag for checking the fs after growin and added few more growfs test cases that are less 16TB

16 years agoFix up attr include path for irix, like ddiss did for dmiperf.c.
Tim Shimmin [Thu, 4 Oct 2007 04:06:16 +0000 (04:06 +0000)]
Fix up attr include path for irix, like ddiss did for dmiperf.c.
Merge of master-melb:xfs-cmds:29830a by kenmcd.

  Fix up attr include path for irix, like ddiss did for dmiperf.c.

16 years agoModify existing test cases, and add a new one.
Mohamed Barwani [Wed, 3 Oct 2007 16:23:57 +0000 (16:23 +0000)]
Modify existing test cases, and add a new one.
Merge of master-melb:xfs-cmds:29822a by kenmcd.

  reduce number of files on the existing test cases. Remounted the fs with dmapi enabled and a call for a new test case.

16 years agoTest to expose log replay bug.
Lachlan McIlroy [Fri, 28 Sep 2007 16:06:31 +0000 (16:06 +0000)]
Test to expose log replay bug.
Merge of master-melb:xfs-cmds:29801a by kenmcd.

  Test to expose log replay bug.

16 years ago-
leenap.longdrop.melbourne.sgi.com [Thu, 27 Sep 2007 06:19:27 +0000 (06:19 +0000)]
-
Merge of master-melb:xfs-cmds:29795a by kenmcd.

  -

16 years ago-
leenap.longdrop.melbourne.sgi.com [Thu, 27 Sep 2007 06:18:42 +0000 (06:18 +0000)]
-
Merge of master-melb:xfs-cmds:29793a by kenmcd.

  -

16 years agoadded description for ha fs resource
leenap.longdrop.melbourne.sgi.com [Thu, 27 Sep 2007 06:17:56 +0000 (06:17 +0000)]
added description for ha fs resource
Merge of master-melb:xfs-cmds:29792a by kenmcd.

16 years agoMake the -l option default for check.
Tim Shimmin [Tue, 25 Sep 2007 04:04:36 +0000 (04:04 +0000)]
Make the -l option default for check.
Use -xdiff for graphical version.
Merge of master-melb:xfs-cmds:29761a by kenmcd.

  Make the -l option default for check.
  Use -xdiff for graphical version.

16 years agoFix unexpected 32 bit sign extension for linux time. It was fine for Irix.
Vlad Apostolov [Fri, 21 Sep 2007 04:15:06 +0000 (04:15 +0000)]
Fix unexpected 32 bit sign extension for linux time. It was fine for Irix.
Merge of master-melb:xfs-cmds:29738a by kenmcd.

  pv 964111, rv lacklan - Fix unexpected 32 bit sign extension for linux time. It was fine for Irix.

16 years agoAdd test system 'mallet'.
Lachlan McIlroy [Thu, 20 Sep 2007 16:19:18 +0000 (16:19 +0000)]
Add test system 'mallet'.
Merge of master-melb:xfs-cmds:29732a by kenmcd.

  Add test system 'mallet'.

16 years agoCheck filesystem after log replay and abort test if errors found
Lachlan McIlroy [Thu, 20 Sep 2007 06:13:47 +0000 (06:13 +0000)]
Check filesystem after log replay and abort test if errors found
Merge of master-melb:xfs-cmds:29730a by kenmcd.

  Check filesystem after log replay and abort test if errors found

16 years agoAbort tests if a failure is encountered while creating/writing test files.
Lachlan McIlroy [Thu, 20 Sep 2007 06:13:02 +0000 (06:13 +0000)]
Abort tests if a failure is encountered while creating/writing test files.
Merge of master-melb:xfs-cmds:29728a by kenmcd.

  Abort tests if a failure is encountered while creating/writing test files.

16 years agoDon't delete test files if they are corrupt.
Lachlan McIlroy [Thu, 20 Sep 2007 04:15:11 +0000 (04:15 +0000)]
Don't delete test files if they are corrupt.
Merge of master-melb:xfs-cmds:29726a by kenmcd.

  Don't delete test files if they are corrupt.

16 years agotest out xfs_inactive_attrs in log replay for iunlink processing.
Tim Shimmin [Mon, 17 Sep 2007 06:14:40 +0000 (06:14 +0000)]
test out xfs_inactive_attrs in log replay for iunlink processing.
Merge of master-melb:xfs-cmds:29701a by kenmcd.

  Update args to use command options for multi_open_unlink.
  Change a sleep to a wait as we were just sleeping to account
  for the death of a process - should really wait for its death.

16 years agochange scratch fs to xfs_scratch
fergalh.longdrop.melbourne.sgi.com [Tue, 4 Sep 2007 06:10:30 +0000 (06:10 +0000)]
change scratch fs to xfs_scratch
Merge of master-melb:xfs-cmds:29591a by kenmcd.

  change scratch fs to xfs_scratch

16 years agoUse larger files in test - makes it easier to expose problem.
Lachlan McIlroy [Thu, 30 Aug 2007 16:10:35 +0000 (16:10 +0000)]
Use larger files in test - makes it easier to expose problem.
Merge of master-melb:xfs-cmds:29558a by kenmcd.

  Use larger files in test - makes it easier to expose problem.

16 years agoReport errors for missing files and check for correct file sizes
Lachlan McIlroy [Thu, 30 Aug 2007 16:09:49 +0000 (16:09 +0000)]
Report errors for missing files and check for correct file sizes
Merge of master-melb:xfs-cmds:29557a by kenmcd.

  Report errors for missing files and check for correct file sizes

16 years agoupddate rizzo1
fergalh.longdrop.melbourne.sgi.com [Tue, 28 Aug 2007 16:04:24 +0000 (16:04 +0000)]
upddate rizzo1
Merge of master-melb:xfs-cmds:29536a by kenmcd.

  update rizzo1

16 years agochanges gonzo1 variables
fergalh.longdrop.melbourne.sgi.com [Tue, 28 Aug 2007 06:09:52 +0000 (06:09 +0000)]
changes gonzo1 variables
set scratch fs to 'scratch' from 'xfs_scratch'
Merge of master-melb:xfs-cmds:29527a by kenmcd.

  set scratch fs to 'scratch' from 'xfs_scratch'

16 years agoModify know hosts (kermit1, gonzo1).
Mohamed Barwani [Tue, 28 Aug 2007 04:10:16 +0000 (04:10 +0000)]
Modify know hosts (kermit1, gonzo1).
Merge of master-melb:xfs-cmds:29523a by kenmcd.

  Modify know hosts (kermit1, gonzo1).

16 years agoFix the display of a variable.
Mohamed Barwani [Tue, 21 Aug 2007 04:04:39 +0000 (04:04 +0000)]
Fix the display of a variable.
Merge of master-melb:xfs-cmds:29446a by kenmcd.

  Display the variable after is being set.

16 years agoAdd the new tests and their golden outputs.
Mohamed Barwani [Tue, 21 Aug 2007 04:03:50 +0000 (04:03 +0000)]
Add the new tests and their golden outputs.
Merge of master-melb:xfs-cmds:29445a by kenmcd.

  New Test

16 years agoTest that fsync/sync force file size changes to disk.
Lachlan McIlroy [Mon, 20 Aug 2007 06:19:41 +0000 (06:19 +0000)]
Test that fsync/sync force file size changes to disk.
Merge of master-melb:xfs-cmds:29441a by kenmcd.

  Test that fsync forces file size changes to disk.

16 years agonew common.punch file for exercising various hole punch functions,
David Disseldorp [Fri, 17 Aug 2007 16:09:29 +0000 (16:09 +0000)]
new common.punch file for exercising various hole punch functions,
_test_punch the main test function follows the procedure:
- mkfs & mount scratch
- optionally set files extent size hint
- truncate and optionally resvsp
- write or punch to file in specified order at given offsets & lengths
- display the file state (bmap) after each operation

All sizes, offsets and lengths are specified in FS blocks.
Problems may arise on non bash shells due to array usage.
Merge of master-melb:xfs-cmds:29434a by kenmcd.

16 years agoModify golden output to match different Maximum file blocks for 32 & 64 bit systems
Mohamed Barwani [Wed, 15 Aug 2007 04:16:05 +0000 (04:16 +0000)]
Modify golden output to match different Maximum file blocks for 32 & 64 bit systems
Merge of master-melb:xfs-cmds:29391a by kenmcd.

  enhanced the filter function

16 years agomake sure the test shows any garbage output.
Mohamed Barwani [Mon, 13 Aug 2007 15:55:13 +0000 (15:55 +0000)]
make sure the test shows any garbage output.
Merge of master-melb:xfs-cmds:29378a by kenmcd.

  Add the modified filter that was removed from common.dmapi

16 years agoModify dassi QA scratch device
Lachlan McIlroy [Thu, 9 Aug 2007 04:10:08 +0000 (04:10 +0000)]
Modify dassi QA scratch device
Merge of master-melb:xfs-cmds:29356a by kenmcd.

  Modify dassi QA scratch device

16 years agopv 968773, author Chris Pascoe <c.pascoe@itee.uq.edu.au>, rv vapo - minor fixes for...
Vlad Apostolov [Wed, 8 Aug 2007 07:54:05 +0000 (07:54 +0000)]
pv 968773, author Chris Pascoe <c.pascoe@itee.uq.edu.au>, rv vapo - minor fixes for XFS DMAPI tests
Merge of master-melb:xfs-cmds:29348a by kenmcd.

  pv 968773, author Chris Pascoe <c.pascoe@itee.uq.edu.au>, rv vapo - minor fixes for XFS DMAPI tests

16 years agopv 964111, rv lachlan - > attrname[DM_ATTR_NAME_SIZE] = '\0'; /* terminate...
Vlad Apostolov [Wed, 8 Aug 2007 07:53:19 +0000 (07:53 +0000)]
pv 964111, rv lachlan - >       attrname[DM_ATTR_NAME_SIZE] = '\0';  /* terminate the string */
Merge of master-melb:xfs-cmds:29347a by kenmcd.

  pv 964111, rv lachlan - terminate attribute name string

16 years agomodify galah machine configuration.
Mohamed Barwani [Mon, 6 Aug 2007 04:01:50 +0000 (04:01 +0000)]
modify galah machine configuration.
Merge of master-melb:xfs-cmds:29336a by kenmcd.

  add log devices.

16 years agoadd -r to killall in order kill fsstress & lt-fsstress
Mohamed Barwani [Thu, 2 Aug 2007 16:19:56 +0000 (16:19 +0000)]
add -r to killall in order kill fsstress & lt-fsstress
Merge of master-melb:xfs-cmds:29307a by kenmcd.

  add -r to killall

16 years agoXFSQA 171 should be _notrun on irix
Mohamed Barwani [Thu, 2 Aug 2007 16:19:12 +0000 (16:19 +0000)]
XFSQA 171 should be _notrun on irix
Merge of master-melb:xfs-cmds:29302a by kenmcd.

  remove irix as a supported os

16 years agoFix up mode bits
Barry Naujok [Thu, 2 Aug 2007 06:20:52 +0000 (06:20 +0000)]
Fix up mode bits
Merge of master-melb:xfs-cmds:29299a by kenmcd.

  Execute bits changed from --- to xxx
  Fix up mode xbits for test

16 years agoFix up QA for xfsprogs 2.9.x
Barry Naujok [Thu, 2 Aug 2007 06:20:02 +0000 (06:20 +0000)]
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+

16 years agoCreate test 178 as described by bnaujok.
Mohamed Barwani [Mon, 30 Jul 2007 15:59:01 +0000 (15:59 +0000)]
Create test 178 as described by bnaujok.
Merge of master-melb:xfs-cmds:29273a by kenmcd.

  New Test

16 years agoFix build failure.
Lachlan McIlroy [Thu, 26 Jul 2007 21:25:32 +0000 (21:25 +0000)]
Fix build failure.
Merge of master-melb:xfs-cmds:29235a by kenmcd.

  Fix build failure.

16 years agouse dd and lmdd for proper direct/buffered IO on linux and irix
David Disseldorp [Tue, 24 Jul 2007 16:08:47 +0000 (16:08 +0000)]
use dd and lmdd for proper direct/buffered IO on linux and irix
Merge of master-melb:xfs-cmds:29214a by kenmcd.

16 years agointigrate bulkstat_unlink_test into XFS-QA
Mohamed Barwani [Tue, 24 Jul 2007 16:08:02 +0000 (16:08 +0000)]
intigrate bulkstat_unlink_test into XFS-QA
Merge of master-melb:xfs-cmds:29213a by kenmcd.

  New XFSQA test

16 years ago- OS common filestreams timeout change function
David Disseldorp [Fri, 20 Jul 2007 04:11:09 +0000 (04:11 +0000)]
- 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.

16 years agoUpdate QA tests for new lost+found behaviour
Barry Naujok [Mon, 16 Jul 2007 15:54:28 +0000 (15:54 +0000)]
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

16 years agoInserting a small (2s) sleep after starting print_event.
David Disseldorp [Mon, 9 Jul 2007 06:15:49 +0000 (06:15 +0000)]
Inserting a small (2s) sleep after starting print_event.
Merge of master-melb:xfs-cmds:29094a by kenmcd.

16 years agoremove .full file before running test
David Disseldorp [Fri, 6 Jul 2007 06:10:31 +0000 (06:10 +0000)]
remove .full file before running test
Merge of master-melb:xfs-cmds:29091a by kenmcd.

16 years agofile size consistantcy test
David Disseldorp [Fri, 6 Jul 2007 04:05:35 +0000 (04:05 +0000)]
file size consistantcy test
Merge of master-melb:xfs-cmds:29085a by kenmcd.

16 years agoA recent change to XFSQA to resolve mkfs option conflicts means mkfs can be run twice...
David Disseldorp [Tue, 3 Jul 2007 04:01:25 +0000 (04:01 +0000)]
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.

16 years agoFor XFSQA test 018 081 082 095 the test specifies test wide mkfs options using MKFS_O...
David Disseldorp [Fri, 29 Jun 2007 16:06:04 +0000 (16:06 +0000)]
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.

16 years agoAvoid mkfs options conflict, use minimal mkfs options to create loopfs.
David Disseldorp [Fri, 29 Jun 2007 06:16:22 +0000 (06:16 +0000)]
Avoid mkfs options conflict, use minimal mkfs options to create loopfs.
Merge of master-melb:xfs-cmds:29028a by kenmcd.

16 years agoMake sure we take into account newly reserved blocks as introduced
Dave Chinner [Thu, 28 Jun 2007 15:57:56 +0000 (15:57 +0000)]
Make sure we take into account newly reserved blocks as introduced
in 964468.
Merge of master-melb:xfs-cmds:29013a by kenmcd.

16 years agoQA tests for filestreams
Dave Chinner [Thu, 28 Jun 2007 15:57:11 +0000 (15:57 +0000)]
QA tests for filestreams
Merge of master-melb:xfs-cmds:29011a by kenmcd.

  QA tests for filestreams

16 years agochange galah QA devs & scratch mount point
David Disseldorp [Wed, 27 Jun 2007 04:06:04 +0000 (04:06 +0000)]
change galah QA devs & scratch mount point
Merge of master-melb:xfs-cmds:29001a by kenmcd.

16 years agoMake sure 167 completes and unmounts scratch correctly
Dave Chinner [Wed, 20 Jun 2007 06:15:19 +0000 (06:15 +0000)]
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.

16 years agoClean up whitespace problems with 166.
Dave Chinner [Wed, 20 Jun 2007 06:14:34 +0000 (06:14 +0000)]
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.

16 years agoadd null files tests to auto group
Dave Chinner [Wed, 20 Jun 2007 06:13:49 +0000 (06:13 +0000)]
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.

16 years agoXFSQA 073 is still not correctly cleaning up $tmp,
David Disseldorp [Fri, 8 Jun 2007 16:24:08 +0000 (16:24 +0000)]
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

16 years agoThis test enables dmapi return_on_destroy and captures dmapi events
David Disseldorp [Mon, 4 Jun 2007 06:13:28 +0000 (06:13 +0000)]
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

16 years agoMake sure the repair tests dirty the filesystem before corrupting it.
Dave Chinner [Mon, 4 Jun 2007 06:12:42 +0000 (06:12 +0000)]
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.

16 years agoQA test to exercise unwritten extent conversion for sync direct I/O
Dave Chinner [Mon, 4 Jun 2007 06:11:56 +0000 (06:11 +0000)]
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.

16 years agoChanged kermit xfsqa targets
fergalh.longdrop.melbourne.sgi.com [Fri, 25 May 2007 06:07:23 +0000 (06:07 +0000)]
Changed kermit xfsqa targets
Merge of master-melb:xfs-cmds:28706a by kenmcd.

  Changed kermit xfsqa targets

16 years agoAdding devices for rizzo to do xfs-qa
leenap.longdrop.melbourne.sgi.com [Tue, 22 May 2007 04:03:50 +0000 (04:03 +0000)]
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

16 years agotest 121 creates unlinked and still referenced inodes, it doesn't clean up afterwards.
David Disseldorp [Mon, 21 May 2007 15:48:58 +0000 (15:48 +0000)]
test 121 creates unlinked and still referenced inodes, it doesn't clean up afterwards.
Merge of master-melb:xfs-cmds:28637a by kenmcd.

  do a mount after running test to trigger log recovery
  \.

16 years agocheck for mkfs/mount failure
David Disseldorp [Fri, 18 May 2007 06:08:08 +0000 (06:08 +0000)]
check for mkfs/mount failure
Merge of master-melb:xfs-cmds:28623a by kenmcd.

16 years agoCurrently there are a few ways mkfs options are specified in XFSQA:
David Disseldorp [Thu, 17 May 2007 15:58:12 +0000 (15:58 +0000)]
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"

Conflicts between mkfs options specified with method 1 & 3 are common.
960377  XFSQA 041, 042 - mkfs fails with large log size MKFS_OPTIONS.

This change means if a mkfs fails where mkfs options have been appended by a test (method 3),
The mkfs is retried using only those options defined by the test.

occurances of method 4 (in test 114 & 115) are also changed to use method 3.

$seq.full logs the fact that a mkfs options conflict has occured.
Merge of master-melb:xfs-cmds:28601a by kenmcd.

  append -i parent mkfs option using _scratch_mkfs_xfs -i parent...
  rather than export MKFS_OPTIONS="$MKFS_OPTIONS -i parent=1.
  this avoids mkfs option conflicts

16 years agofix group listing regexp
David Disseldorp [Fri, 4 May 2007 06:10:34 +0000 (06:10 +0000)]
fix group listing regexp
Merge of master-melb:xfs-cmds:28513a by kenmcd.

  add dmapi group

17 years agoQA test to demonstrate unwritten extent/mmap write problem
Dave Chinner [Mon, 23 Apr 2007 16:00:46 +0000 (16:00 +0000)]
QA test to demonstrate unwritten extent/mmap write problem
Merge of master-melb:xfs-cmds:28456a by kenmcd.

  mmap vs unwritten extents test.

17 years agofix white space between comments
David Disseldorp [Fri, 20 Apr 2007 03:59:56 +0000 (03:59 +0000)]
fix white space between comments
Merge of master-melb:xfs-cmds:28446a by kenmcd.