xfstests-dev.git
15 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.

15 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

15 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

15 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
  \.

15 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.

15 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

15 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

15 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.

15 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.

15 years agoA bit of a cleanup of common.config and add new QA host.
David Disseldorp [Fri, 20 Apr 2007 03:59:08 +0000 (03:59 +0000)]
A bit of a cleanup of common.config and add new QA host.
Merge of master-melb:xfs-cmds:28444a by kenmcd.

15 years agoPut _qmount_option into common.quota for other quota tests to use.
Tim Shimmin [Fri, 20 Apr 2007 03:58:19 +0000 (03:58 +0000)]
Put _qmount_option into common.quota for other quota tests to use.
Merge of master-melb:xfs-cmds:28443a by kenmcd.

  Put _qmount_option into common.quota for other quota tests to use.

15 years agofixup xfstests Makefile sinch dmapi changes
Tim Shimmin [Fri, 20 Apr 2007 03:57:28 +0000 (03:57 +0000)]
fixup xfstests Makefile sinch dmapi changes
Merge of master-melb:xfs-cmds:28442a by kenmcd.

  fixup xfstests Makefile sinch dmapi changes

15 years agoAdded rizzo1 to known host list
Mohamed Barwani [Thu, 12 Apr 2007 15:41:06 +0000 (15:41 +0000)]
Added rizzo1 to known host list
Merge of master-melb:xfs-cmds:28405a by kenmcd.

  Added rizzo1 to known host list

15 years agoOutput wasn't deterministic. Remove bmap output from stdout,
Tim Shimmin [Thu, 5 Apr 2007 15:45:28 +0000 (15:45 +0000)]
Output wasn't deterministic. Remove bmap output from stdout,
just have going to seq.full.
Merge of master-melb:xfs-cmds:28376a by kenmcd.

  Execute bits changed from --- to x--
  Fix up bmap output. Meant to remove the testfile on every
  test but forgot to. Also needed to truncate the files
  in the 2nd group of tests which used resvsp so that
  the length/eof was correct for the test.

15 years agoProvide conditions to show up problem for dioread on IRIX and Linux
Tim Shimmin [Wed, 4 Apr 2007 15:57:12 +0000 (15:57 +0000)]
Provide conditions to show up problem for dioread on IRIX and Linux
for pv#962005.
Merge of master-melb:xfs-cmds:28362a by kenmcd.

  Provide conditions to show up problem for dioread on IRIX and Linux
  for pv#962005.

15 years agoSome experimentation for pv#962014 doing prealloc, direct write, buffered read etc...
Tim Shimmin [Wed, 4 Apr 2007 03:54:24 +0000 (03:54 +0000)]
Some experimentation for pv#962014 doing prealloc, direct write, buffered read etc...
Add more here if come up with other ideas.
Merge of master-melb:xfs-cmds:28351a by kenmcd.

  Some experimentation for pv#962014 doing prealloc, direct write, buffered read etc...
  Add more here if come up with other ideas.

15 years agocommon.config minor changes
Mohamed Barwani [Mon, 2 Apr 2007 06:10:17 +0000 (06:10 +0000)]
common.config minor changes
Merge of master-melb:xfs-cmds:28337a by kenmcd.

  Modified partitions and host name for cxfsaltix2. Now kermit1.

15 years agoinferno is now called gaspode
David Disseldorp [Fri, 30 Mar 2007 06:13:25 +0000 (06:13 +0000)]
inferno is now called gaspode
Merge of master-melb:xfs-cmds:28326a by kenmcd.

15 years agoThis change makes test 041 function correctly other blocks sizes, not just 4096.
David Disseldorp [Fri, 9 Mar 2007 02:58:48 +0000 (02:58 +0000)]
This change makes test 041 function correctly other blocks sizes, not just 4096.
The FS bsize is extracted from _filter_mkfs and then used to calculate growfs "destination" size.
Merge of master-melb:xfs-cmds:28222a by kenmcd.

  calculate one meg in blocks, then use that value to calculate grow-to values.

15 years agofsx was calling vfprintf twice without resetting the va_list argument
Lachlan McIlroy [Thu, 8 Mar 2007 03:02:20 +0000 (03:02 +0000)]
fsx was calling vfprintf twice without resetting the va_list argument
Merge of master-melb:xfs-cmds:28212a by kenmcd.

  fsx was calling vfprintf twice without resetting the va_list argument and
  this caused a segfault on the second call.  Now uses one call to vsnprintf
  to print to a buffer and uses that multiple times.

15 years ago-
leenap.longdrop.melbourne.sgi.com [Mon, 5 Mar 2007 14:43:47 +0000 (14:43 +0000)]
-
Merge of master-melb:xfs-cmds:28207a by kenmcd.

15 years agoAdded changed xfs test device to cxfsaltix2 config.
leenap.longdrop.melbourne.sgi.com [Mon, 5 Mar 2007 14:43:03 +0000 (14:43 +0000)]
Added changed xfs test device to cxfsaltix2 config.
Merge of master-melb:xfs-cmds:28206a by kenmcd.

  -

15 years agoChanged the test parametrs for cxfsaltix5.
leenap.longdrop.melbourne.sgi.com [Thu, 22 Feb 2007 05:09:49 +0000 (05:09 +0000)]
Changed the test parametrs for cxfsaltix5.
Merge of master-melb:xfs-cmds:28158a by kenmcd.

15 years agoXFSQA test 144 fails again on tot linux_xfs
Vlad Apostolov [Fri, 16 Feb 2007 02:59:54 +0000 (02:59 +0000)]
XFSQA test 144 fails again on tot linux_xfs
Merge of master-melb:xfs-cmds:28113a by kenmcd.

  pv 961215, rv allanr - replacing fsync() with global sync()

15 years agoFix menu items order
Vlad Apostolov [Tue, 13 Feb 2007 02:54:16 +0000 (02:54 +0000)]
Fix menu items order
Merge of master-melb:xfs-cmds:28083a by kenmcd.

  Fix menu items order

15 years agoPut the output of fsx into seq.full and output all of seq.full on failure.
Tim Shimmin [Mon, 12 Feb 2007 05:08:57 +0000 (05:08 +0000)]
Put the output of fsx into seq.full and output all of seq.full on failure.
Just to give more context around the error if we get one.
Merge of master-melb:xfs-cmds:28068a by kenmcd.

  Put the output of fsx into seq.full and output all of seq.full on failure.
  Just to give more context around the error if we get one.

15 years agoadded flame, modified indentation
David Disseldorp [Mon, 12 Feb 2007 02:55:02 +0000 (02:55 +0000)]
added flame, modified indentation
Merge of master-melb:xfs-cmds:28062a by kenmcd.

  added flame, modified indentation

15 years agoModified golden output to reflect NUM loop filter
Allan Randall [Thu, 8 Feb 2007 14:48:49 +0000 (14:48 +0000)]
Modified golden output to reflect NUM loop filter
Merge of master-melb:xfs-cmds:28052a by kenmcd.

  Modified golden output to reflect NUM loop filter

15 years ago_check_sids previously grepped the entire output of dm_getall_sessions for sids,...
David Disseldorp [Wed, 7 Feb 2007 14:37:33 +0000 (14:37 +0000)]
_check_sids previously grepped the entire output of dm_getall_sessions for sids, which is:
ret=dm_getall_sessions return value
rnelem=number of sessions
sids="sid1 sid2 ... sidn "

If the session id of a previously destroyed session matches the current number of sessions (rnelem),
then _check_sids() $PREV_DESTROYED_SID will _not_ flag ERROR: SID(s) not created.

This fix also makes _check_sids() not rely on sids being consecutive. DMF may be running on a FS in background.

Tested on Linux and Irix.
Merge of master-melb:xfs-cmds:28043a by kenmcd.

  change _check_sids to go through sids line 1 by 1 checking for matches

15 years agoXFSQA 122 on machines with xfs_lazy_sb.patch have failed due to the addition of __be3...
David Disseldorp [Mon, 5 Feb 2007 02:52:17 +0000 (02:52 +0000)]
XFSQA 122 on machines with xfs_lazy_sb.patch have failed due to the addition of __be32 agf_btreeblks to xfs_agf_t.

This change causes 122 detect whether the patch is installed by greping for lazy count in mkfs output, the xfs_agf_t size is then filtered based on the patch status.
The original intention was to check /lib/modules/$(uname -r)/source/fs/xfs/xfs_ag.h for btreeblks and filter on this, however the kernel source is not a prereq for XFSQA.
Merge of master-melb:xfs-cmds:28014a by kenmcd.

  pipe get_structs.c output through _type_size_filter to filter out known changes to xfs type sizes

15 years agofix null string comparison in notrun case
David Disseldorp [Wed, 31 Jan 2007 14:36:17 +0000 (14:36 +0000)]
fix null string comparison in notrun case
Merge of master-melb:xfs-cmds:28004a by kenmcd.

15 years ago-
leenap.longdrop.melbourne.sgi.com [Thu, 25 Jan 2007 14:46:44 +0000 (14:46 +0000)]
-
Merge of master-melb:xfs-cmds:27993a by kenmcd.

  -

15 years ago-
leenap.longdrop.melbourne.sgi.com [Mon, 22 Jan 2007 02:53:19 +0000 (02:53 +0000)]
-
Merge of master-melb:xfs-cmds:27977a by kenmcd.

  -

15 years agochange inferno, sheila and chapter11 configs to follow same test partition conventions
David Disseldorp [Wed, 17 Jan 2007 15:00:07 +0000 (15:00 +0000)]
change inferno, sheila and chapter11 configs to follow same test partition conventions
Merge of master-melb:xfs-cmds:27957a by kenmcd.

15 years agoChanged specs for cxfsaltix2
leenap.longdrop.melbourne.sgi.com [Tue, 16 Jan 2007 02:59:49 +0000 (02:59 +0000)]
Changed specs for cxfsaltix2
Merge of master-melb:xfs-cmds:27929a by kenmcd.

  Changed specs for cxfsaltix2

15 years agoUpdated the config for cxfsaltix2
leenap.longdrop.melbourne.sgi.com [Tue, 16 Jan 2007 02:59:06 +0000 (02:59 +0000)]
Updated the config for cxfsaltix2
Merge of master-melb:xfs-cmds:27927a by kenmcd.

  Updated config for cxfsaltix2

15 years agoIntegrate dmapi suite 1 into xfsqa infrastructure
Allan Randall [Tue, 16 Jan 2007 02:58:21 +0000 (02:58 +0000)]
Integrate dmapi suite 1 into xfsqa infrastructure
Merge of master-melb:xfs-cmds:27924a by kenmcd.

  added IRIX to _supported_os

15 years agoAdded cxfsaltix2 to the list of known hosts.
leenap.longdrop.melbourne.sgi.com [Fri, 12 Jan 2007 15:54:24 +0000 (15:54 +0000)]
Added cxfsaltix2 to the list of known hosts.
Merge of master-melb:xfs-cmds:27913a by kenmcd.

  Added cxfsaltix2 to the list of known hosts.

15 years ago-.
leenap.longdrop.melbourne.sgi.com [Thu, 11 Jan 2007 05:11:03 +0000 (05:11 +0000)]
-.
Merge of master-melb:xfs-cmds:27905a by kenmcd.

  -.

15 years ago-
leenap.longdrop.melbourne.sgi.com [Thu, 11 Jan 2007 02:57:41 +0000 (02:57 +0000)]
-
Merge of master-melb:xfs-cmds:27903a by kenmcd.

  -.

15 years agoModified devices for cxfsaltix5
leenap.longdrop.melbourne.sgi.com [Thu, 11 Jan 2007 02:56:56 +0000 (02:56 +0000)]
Modified devices for cxfsaltix5
Merge of master-melb:xfs-cmds:27902a by kenmcd.

  Modified devices for cxfsaltix5

15 years agofixed dmapi mount filter to work on irix
Allan Randall [Thu, 11 Jan 2007 02:56:11 +0000 (02:56 +0000)]
fixed dmapi mount filter to work on irix
Merge of master-melb:xfs-cmds:27901a by kenmcd.

  Execute bits changed from --- to xxx
  fixed dmapi mount filter to work on irix

15 years agoAdded cxfsaltix5 to list of known hosts
leenap.longdrop.melbourne.sgi.com [Wed, 10 Jan 2007 02:53:18 +0000 (02:53 +0000)]
Added cxfsaltix5 to list of known hosts
Merge of master-melb:xfs-cmds:27892a by kenmcd.

  Added cxfsaltix5 to list of known hosts

15 years ago_dmapi_scratch_mount changes
Allan Randall [Thu, 4 Jan 2007 05:12:36 +0000 (05:12 +0000)]
_dmapi_scratch_mount changes
Merge of master-melb:xfs-cmds:27847a by kenmcd.

  changed _dmapi_scratch_mount to determine dmapi support by attempting to mount the filesystem with the dmapi mount option and checking it succeeds

15 years agoDmapi build fix
Allan Randall [Tue, 2 Jan 2007 14:38:56 +0000 (14:38 +0000)]
Dmapi build fix
Merge of master-melb:xfs-cmds:27826a by kenmcd.

  added default make option

15 years agofix not_run condition
David Disseldorp [Fri, 22 Dec 2006 05:07:41 +0000 (05:07 +0000)]
fix not_run condition
Merge of master-melb:xfs-cmds:27812a by kenmcd.

  fix not_run condition

15 years agoclone of test 031 using xfs_prepair instead of xfs_repair
David Disseldorp [Thu, 21 Dec 2006 02:54:59 +0000 (02:54 +0000)]
clone of test 031 using xfs_prepair instead of xfs_repair
Merge of master-melb:xfs-cmds:27794a by kenmcd.

  clone of test 031 using xfs_prepair instead of xfs_repair

15 years agouse _filter_repair when running xfs_repair. This stops timestamp mismatches from...
David Disseldorp [Thu, 21 Dec 2006 02:54:16 +0000 (02:54 +0000)]
use _filter_repair when running xfs_repair. This stops timestamp mismatches from causing test failures.
Merge of master-melb:xfs-cmds:27793a by kenmcd.

  pipe repair output through _filter_repair

15 years agogolden output is the same for irix and linux, merge both
David Disseldorp [Thu, 21 Dec 2006 02:53:33 +0000 (02:53 +0000)]
golden output is the same for irix and linux, merge both
Merge of master-melb:xfs-cmds:27791a by kenmcd.

  don't link .out file

15 years agoXFS: totally zeroed log warning should not be output in irix, a zeroed log is a norma...
David Disseldorp [Wed, 20 Dec 2006 14:34:03 +0000 (14:34 +0000)]
XFS: totally zeroed log warning should not be output in irix, a zeroed log is a normal condition
Merge of master-melb:xfs-cmds:27786a by kenmcd.

  remove XFS: totally zeroed log from golden output

15 years agoUpdated hammer's configuration
Barry Naujok [Wed, 20 Dec 2006 05:11:50 +0000 (05:11 +0000)]
Updated hammer's configuration
Merge of master-melb:xfs-cmds:27784a by kenmcd.

  Updated hammer's configuration

15 years agosmall changes required for 148 prepair tests
David Disseldorp [Wed, 20 Dec 2006 05:11:03 +0000 (05:11 +0000)]
small changes required for 148 prepair tests
Merge of master-melb:xfs-cmds:27781a by kenmcd.

  export prepair and prepair64 binary paths

15 years agotest 030 clone using xfs_prepair64
David Disseldorp [Wed, 20 Dec 2006 05:10:17 +0000 (05:10 +0000)]
test 030 clone using xfs_prepair64
Merge of master-melb:xfs-cmds:27780a by kenmcd.

  test 030 clone using xfs_prepair64

15 years agofixed Makefile for building dmapi tests
Allan Randall [Wed, 20 Dec 2006 02:51:57 +0000 (02:51 +0000)]
fixed Makefile for building dmapi tests
Merge of master-melb:xfs-cmds:27778a by kenmcd.

  fixed Makefile for building dmapi tests

15 years agocheck for dmapi module before running dmapi tests
Allan Randall [Tue, 19 Dec 2006 05:09:57 +0000 (05:09 +0000)]
check for dmapi module before running dmapi tests
Merge of master-melb:xfs-cmds:27774a by kenmcd.

  check for dmapi module before running dmapi tests

15 years agoFixed test 144
Allan Randall [Tue, 19 Dec 2006 02:57:04 +0000 (02:57 +0000)]
Fixed test 144
Merge of master-melb:xfs-cmds:27771a by kenmcd.

  removed echo of command

15 years agoadd file required by dmapi qa
Allan Randall [Tue, 19 Dec 2006 02:56:20 +0000 (02:56 +0000)]
add file required by dmapi qa
Merge of master-melb:xfs-cmds:27768a by kenmcd.

  file required by dmapi qa

15 years agoIntegrate existing dmapi qa tests into xfs qa infrastructure
Allan Randall [Tue, 19 Dec 2006 02:55:36 +0000 (02:55 +0000)]
Integrate existing dmapi qa tests into xfs qa infrastructure
Merge of master-melb:xfs-cmds:27764a by kenmcd.

  Dmapi get/set_dmattr

15 years agoadded filters for tot repair
David Disseldorp [Tue, 12 Dec 2006 14:55:58 +0000 (14:55 +0000)]
added filters for tot repair
Merge of master-melb:xfs-cmds:27708a by kenmcd.

  added filters for tot xfs-repair

15 years agoFix up xfs_io mread command that read from the wrong offset
Barry Naujok [Fri, 8 Dec 2006 03:01:47 +0000 (03:01 +0000)]
Fix up xfs_io mread command that read from the wrong offset
Merge of master-melb:xfs-cmds:27661a by kenmcd.

  Added QA test for xfs_io mread command

15 years agoMore tests for the NULL files problem
Lachlan McIlroy [Tue, 5 Dec 2006 05:07:45 +0000 (05:07 +0000)]
More tests for the NULL files problem
Merge of master-melb:xfs-cmds:27632a by kenmcd.

  Fix test number and simplify test case

15 years agoadded scaly
Donald Douwsma [Mon, 4 Dec 2006 05:08:01 +0000 (05:08 +0000)]
added scaly
Merge of master-melb:xfs-cmds:27617a by kenmcd.

  added scaly

15 years agoadded molten
David Disseldorp [Sun, 3 Dec 2006 02:55:49 +0000 (02:55 +0000)]
added molten
Merge of master-melb:xfs-cmds:27608a by kenmcd.

15 years agoTest for NULL files problem.
Lachlan McIlroy [Sat, 2 Dec 2006 02:52:30 +0000 (02:52 +0000)]
Test for NULL files problem.
Merge of master-melb:xfs-cmds:27607a by kenmcd.

  Test for NULL files problem.

15 years agoAdd some more tests for the attr2 test.
Tim Shimmin [Fri, 1 Dec 2006 14:46:42 +0000 (14:46 +0000)]
Add some more tests for the attr2 test.
Do some EA and extent interaction at different formats due to different
number of extents and EAs.
It showed up the current attr2 bug.
With the proposed patch this doesn't happen.
Merge of master-melb:xfs-cmds:27606a by kenmcd.

  Add some more tests for the attr2 test.
  Do some EA and extent interaction at different formats due to different
  number of extents and EAs.
  It showed up the current attr2 bug.
  With the proposed patch this doesn't happen.

15 years agodassi config
David Disseldorp [Wed, 29 Nov 2006 14:33:45 +0000 (14:33 +0000)]
dassi config
Merge of master-melb:xfs-cmds:27577a by kenmcd.

15 years agoadd chapter11 config
David Disseldorp [Wed, 29 Nov 2006 05:09:02 +0000 (05:09 +0000)]
add chapter11 config
Merge of master-melb:xfs-cmds:27571a by kenmcd.

15 years agoTest that the on-disk file size is correct if file has been truncated.
Lachlan McIlroy [Thu, 23 Nov 2006 02:56:07 +0000 (02:56 +0000)]
Test that the on-disk file size is correct if file has been truncated.
Merge of master-melb:xfs-cmds:27522a by kenmcd.

  Test that the on-disk file size is correct if file has been truncated.

15 years agoAdded vm host on my laptop for QA.
David Chatterton [Thu, 16 Nov 2006 14:53:52 +0000 (14:53 +0000)]
Added vm host on my laptop for QA.
Merge of master-melb:xfs-cmds:27464a by kenmcd.

  Added linux-chatz

15 years agocleanup xfs_copy images after running test
David Disseldorp [Mon, 6 Nov 2006 02:52:23 +0000 (02:52 +0000)]
cleanup xfs_copy images after running test
Merge of master-melb:xfs-cmds:27351a by kenmcd.

15 years agocheck for mount and mkfs failures and exit if failure occurs, rather than fill qa...
David Disseldorp [Tue, 31 Oct 2006 16:08:47 +0000 (16:08 +0000)]
check for mount and mkfs failures and exit if failure occurs, rather than fill qa machines root fs.
Merge of master-melb:xfs-cmds:27324a by kenmcd.

15 years ago955274: DMAPI qa test fixes
Vlad Apostolov [Thu, 19 Oct 2006 06:08:45 +0000 (06:08 +0000)]
955274: DMAPI qa test fixes
Merge of master-melb:xfs-cmds:27241a by kenmcd.

  avoid negative number LONG_MAX + 1

15 years agotest out attr2 with different number of extents and number
Tim Shimmin [Tue, 17 Oct 2006 06:10:19 +0000 (06:10 +0000)]
test out attr2 with different number of extents and number
of EAs - with both sizes shrinking and enlarging and changing
formats. Need to fix up the output before setting live.
Merge of master-melb:xfs-cmds:27208a by kenmcd.

  test out attr2 with different number of extents and number
  of EAs - with both sizes shrinking and enlarging and changing
  formats. Need to fix up the output before setting live.

15 years agosu changes (again)
David Disseldorp [Tue, 17 Oct 2006 04:02:39 +0000 (04:02 +0000)]
su changes (again)
Merge of master-melb:xfs-cmds:27205a by kenmcd.

15 years agorun test on scratch dir
David Disseldorp [Mon, 16 Oct 2006 15:46:05 +0000 (15:46 +0000)]
run test on scratch dir
remove failure case for when scratch is not mounted before test
Merge of master-melb:xfs-cmds:27201a by kenmcd.

15 years agomoved _mount_ops_minus_o_comma_replace to _mount routine, to filter all mount request...
David Disseldorp [Mon, 16 Oct 2006 06:14:00 +0000 (06:14 +0000)]
moved _mount_ops_minus_o_comma_replace to _mount routine, to filter all mount requests for multiple -o's
Merge of master-melb:xfs-cmds:27199a by kenmcd.

15 years agorun test inside subdir with known permissions
David Disseldorp [Mon, 16 Oct 2006 06:13:16 +0000 (06:13 +0000)]
run test inside subdir with known permissions
Merge of master-melb:xfs-cmds:27197a by kenmcd.

15 years agoirix is fussy about how it is fed its mount options
David Disseldorp [Fri, 13 Oct 2006 03:54:57 +0000 (03:54 +0000)]
irix is fussy about how it is fed its mount options
- multiple -o's are not allowed
- no spaces between comma delimitered options
added sed script replaces all -o's (except the first) with a comma
Merge of master-melb:xfs-cmds:27184a by kenmcd.

15 years agodont specify shell for su, irix doesnt like it
David Disseldorp [Fri, 13 Oct 2006 03:54:14 +0000 (03:54 +0000)]
dont specify shell for su, irix doesnt like it
make filter irix friendly
Merge of master-melb:xfs-cmds:27181a by kenmcd.

15 years agoTest to verify that the on-disk file size is updated correctly.
Lachlan McIlroy [Fri, 13 Oct 2006 03:53:31 +0000 (03:53 +0000)]
Test to verify that the on-disk file size is updated correctly.
Merge of master-melb:xfs-cmds:27179a by kenmcd.

15 years agoIRIX doesn't support -q option to pwrite so redirect output of command to /dev/null.
Lachlan McIlroy [Thu, 12 Oct 2006 16:00:23 +0000 (16:00 +0000)]
IRIX doesn't support -q option to pwrite so redirect output of command to /dev/null.
Merge of master-melb:xfs-cmds:27178a by kenmcd.

  IRIX doesn't support -q option to pwrite so redirect output of command to /dev/null.

16 years agoAdded checks to ensure group quota is not used before attempting to mount with pquota...
Allan Randall [Thu, 5 Oct 2006 03:53:10 +0000 (03:53 +0000)]
Added checks to ensure group quota is not used before attempting to mount with pquota option
Merge of master-melb:xfs-cmds:27128a by kenmcd.

  Added checks to ensure group quota is not used before attempting to mount with pquota option

16 years agopv 955274 - Print out hex instead of char for non-printable characters.
Vlad Apostolov [Mon, 2 Oct 2006 15:47:47 +0000 (15:47 +0000)]
pv 955274 - Print out hex instead of char for non-printable characters.
Merge of master-melb:xfs-cmds:27095a by kenmcd.

  pv 955274 - Print out hex instead of char for non-printable characters.

16 years agopv 955274 - Limit the offset passed to dm_write_invis() to the file size to avoid
Vlad Apostolov [Mon, 2 Oct 2006 15:47:03 +0000 (15:47 +0000)]
pv 955274 - Limit the offset passed to dm_write_invis() to the file size to avoid
EINVAL error. Fix u_char to char comparison. Print out hex instead of
char for nonprintable characters.
Merge of master-melb:xfs-cmds:27094a by kenmcd.

  pv 955274 - Limit the offset passed to dm_write_invis() to the file size to avoid
  EINVAL error. Fix u_char to char comparison. Print out hex instead of
  char for nonprintable characters.

16 years agopv 955274 - Fix random test failures due to u_char to char type mismatch comparison.
Vlad Apostolov [Mon, 2 Oct 2006 03:55:04 +0000 (03:55 +0000)]
pv 955274 - Fix random test failures due to u_char to char type mismatch comparison.
Merge of master-melb:xfs-cmds:27090a by kenmcd.

  pv 955274 - Fix random test failures due to u_char to char type mismatch comparison.

16 years agoTest to reproduce PV951636: project quotas not updated if a file is mv'd into that...
Allan Randall [Thu, 28 Sep 2006 15:51:04 +0000 (15:51 +0000)]
Test to reproduce PV951636: project quotas not updated if a file is mv'd into that directory
Merge of master-melb:xfs-cmds:27072a by kenmcd.

  Test to reproduce PV951636: project quotas not updated if a file is mv'd into that directory

16 years agopv 955274 - Requires fsync() after a file attribute change. This is for dm_get_bulkat...
Vlad Apostolov [Wed, 27 Sep 2006 06:07:54 +0000 (06:07 +0000)]
pv 955274 - Requires fsync() after a file attribute change. This is for dm_get_bulkattr().
Merge of master-melb:xfs-cmds:27061a by kenmcd.

  pv 955274 - Requires fsync() after a file attribute change. This is for dm_get_bulkattr().

16 years agopv 955274 - Limit the random generated file size attribute to 1 TB (if size is too...
Vlad Apostolov [Wed, 27 Sep 2006 06:07:10 +0000 (06:07 +0000)]
pv 955274 - Limit the random generated file size attribute to 1 TB (if size is too big the kernel panics)
Merge of master-melb:xfs-cmds:27060a by kenmcd.

  pv 955274 - Limit the random generated file size attribute to 1 TB (if size is too big the kernel panics)

16 years agoadded giro to xfsqa common.config
David Disseldorp [Tue, 19 Sep 2006 15:48:06 +0000 (15:48 +0000)]
added giro to xfsqa common.config
Merge of master-melb:xfs-cmds:27006a by kenmcd.

  see description

16 years agoFix emy settings
Vlad Apostolov [Fri, 15 Sep 2006 12:37:44 +0000 (12:37 +0000)]
Fix emy settings
Merge of master-melb:xfs-cmds:26981a by kenmcd.

  Fix emy settings

16 years agoPre-create test file so reader wont quit if it passes the writer.
Lachlan McIlroy [Sat, 9 Sep 2006 03:51:57 +0000 (03:51 +0000)]
Pre-create test file so reader wont quit if it passes the writer.
Merge of master-melb:xfs-cmds:26951a by kenmcd.

  Pre-create test file so reader wont quit if it passes the writer.

16 years agoFix test 004 for recent TOT kernels.
Dave Chinner [Thu, 7 Sep 2006 04:01:04 +0000 (04:01 +0000)]
Fix test 004 for recent TOT kernels.
Merge of master-melb:xfs-cmds:26932a by kenmcd.

  Take into account out put from df does not include space required
  for AG freelists on 2.6.18+ kernels.

16 years agoinitialize extra_mount_options as blank string in _check_xfs_filesystem to prevent...
David Disseldorp [Thu, 7 Sep 2006 04:00:20 +0000 (04:00 +0000)]
initialize extra_mount_options as blank string in _check_xfs_filesystem to prevent mount arg duplication every test
Merge of master-melb:xfs-cmds:26931a by kenmcd.

  fixed mount arg duplication causing irix mounts to fail

16 years agoRemove test 133 from auto group.
Lachlan McIlroy [Thu, 7 Sep 2006 03:59:36 +0000 (03:59 +0000)]
Remove test 133 from auto group.
Merge of master-melb:xfs-cmds:26930a by kenmcd.

  Remove test 133 from auto group.

16 years agotest for deadlocks with concurrent I/O.
Lachlan McIlroy [Wed, 6 Sep 2006 03:53:22 +0000 (03:53 +0000)]
test for deadlocks with concurrent I/O.
Merge of master-melb:xfs-cmds:26927a by kenmcd.

  test for deadlocks with concurrent I/O.

16 years agochanged attributes.h include path for irix
David Disseldorp [Fri, 1 Sep 2006 06:14:07 +0000 (06:14 +0000)]
changed attributes.h include path for irix
Merge of master-melb:xfs-cmds:26897a by kenmcd.

  changed attributes.h include path for irix

16 years agofixed order of quota reports to always follow:
David Disseldorp [Mon, 28 Aug 2006 15:39:03 +0000 (15:39 +0000)]
fixed order of quota reports to always follow:
[ROOT]
[NAME]
rather than depend on the order of /etc/passwd & /etc/groups
Merge of master-melb:xfs-cmds:26878a by kenmcd.

  fixed order of quota reports to always follow:
  [ROOT]
  [NAME]
  rather than depend on the order of /etc/passwd & /etc/groups

16 years agoFix filter on realtime extsize.
Nathan Scott [Mon, 28 Aug 2006 06:07:58 +0000 (06:07 +0000)]
Fix filter on realtime extsize.
Merge of master-melb:xfs-cmds:26875a by kenmcd.

16 years agopv 955274, rv bnaujok - add 1sec delay between file creation and changing its
Vlad Apostolov [Mon, 28 Aug 2006 03:52:59 +0000 (03:52 +0000)]
pv 955274, rv bnaujok - add 1sec delay between file creation and changing its
attribute via dm_set_dmattr(). If the machine is too fast the ctime doesn't
change between create and dm_set_dmattr() and the test fails.
Merge of master-melb:xfs-cmds:26870a by kenmcd.

  pv 955274, rv bnaujok - add 1sec delay between file creation and changing its
  attribute via dm_set_dmattr(). If the machine is too fast the ctime doesn't
  change between create and dm_set_dmattr() and the test fails.

16 years agoModified _supported_fs to reflect fs types supported
Allan Randall [Fri, 25 Aug 2006 03:53:25 +0000 (03:53 +0000)]
Modified _supported_fs to reflect fs types supported
Merge of master-melb:xfs-cmds:26860a by kenmcd.

  Modified _supported_fs to reflect fs types supported