Commit Graph

910 Commits

Author SHA1 Message Date
Niv Sardi e93c59c33c 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.
2007-10-26 16:05:51 +00:00
Niv Sardi 2051485431 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.
2007-10-26 16:05:04 +00:00
Niv Sardi 0383adf694 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.
2007-10-26 04:12:30 +00:00
Niv Sardi 66d775a9c8 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 +++---------------------------------------------
2007-10-25 04:16:09 +00:00
Mohamed Barwani 9c1fdb6404 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
2007-10-09 06:11:20 +00:00
Tim Shimmin 1aaaa8eef2 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.
2007-10-04 04:06:16 +00:00
Mohamed Barwani a07c706bc4 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.
2007-10-03 16:23:57 +00:00
Lachlan McIlroy da122030c5 Test to expose log replay bug.
Merge of master-melb:xfs-cmds:29801a by kenmcd.

  Test to expose log replay bug.
2007-09-28 16:06:31 +00:00
leenap.longdrop.melbourne.sgi.com a2536be3f7 -
Merge of master-melb:xfs-cmds:29795a by kenmcd.

  -
2007-09-27 06:19:27 +00:00
leenap.longdrop.melbourne.sgi.com d0c8f36333 -
Merge of master-melb:xfs-cmds:29793a by kenmcd.

  -
2007-09-27 06:18:42 +00:00
leenap.longdrop.melbourne.sgi.com bf8bbce823 added description for ha fs resource
Merge of master-melb:xfs-cmds:29792a by kenmcd.
2007-09-27 06:17:56 +00:00
Tim Shimmin 28a91a6c99 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.
2007-09-25 04:04:36 +00:00
Vlad Apostolov 709c7a80fd 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.
2007-09-21 04:15:06 +00:00
Lachlan McIlroy e222ca096a Add test system 'mallet'.
Merge of master-melb:xfs-cmds:29732a by kenmcd.

  Add test system 'mallet'.
2007-09-20 16:19:18 +00:00
Lachlan McIlroy 979ed6f333 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
2007-09-20 06:13:47 +00:00
Lachlan McIlroy 2659a01a6b 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.
2007-09-20 06:13:02 +00:00
Lachlan McIlroy f58c8364be 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.
2007-09-20 04:15:11 +00:00
Tim Shimmin f6412c1e1a 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.
2007-09-17 06:14:40 +00:00
fergalh.longdrop.melbourne.sgi.com 470231c3b9 change scratch fs to xfs_scratch
Merge of master-melb:xfs-cmds:29591a by kenmcd.

  change scratch fs to xfs_scratch
2007-09-04 06:10:30 +00:00
Lachlan McIlroy 655dc6367a 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.
2007-08-30 16:10:35 +00:00
Lachlan McIlroy 5db9372a13 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
2007-08-30 16:09:49 +00:00
fergalh.longdrop.melbourne.sgi.com e0873ecaf6 upddate rizzo1
Merge of master-melb:xfs-cmds:29536a by kenmcd.

  update rizzo1
2007-08-28 16:04:24 +00:00
fergalh.longdrop.melbourne.sgi.com 34ca53b51f 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'
2007-08-28 06:09:52 +00:00
Mohamed Barwani e3c14d1640 Modify know hosts (kermit1, gonzo1).
Merge of master-melb:xfs-cmds:29523a by kenmcd.

  Modify know hosts (kermit1, gonzo1).
2007-08-28 04:10:16 +00:00
Mohamed Barwani 024be02e70 Fix the display of a variable.
Merge of master-melb:xfs-cmds:29446a by kenmcd.

  Display the variable after is being set.
2007-08-21 04:04:39 +00:00