Tim Shimmin [Tue, 10 Aug 2004 05:43:44 +0000 (05:43 +0000)]
add test 093 for testing removal of cap EA on file writes when
process doesn't have FSETID and SETFCAP capabilities.
This is an IRIX only test.
This will check that pv#901019 changes are not stuffing up
what the code was supposed to do.
removal of file caps on write test - pv#901019
Tim Shimmin [Thu, 5 Aug 2004 08:28:48 +0000 (08:28 +0000)]
irix qa stuff
have different output for linux and irix
our access checks aren't quite the same -
they have been corrected on linux due to some
complaints
Tim Shimmin [Tue, 27 Jul 2004 05:53:41 +0000 (05:53 +0000)]
Make 074 finish in a reasonable time on IRIX (also on Linux).
Want this to run in a reasonable time.
Make it have different params on IRIX vs Linux, debug versus non-debug.
And allow cmd arguments via getopt to try out different params
for timing.
Tim Shimmin [Mon, 21 Jun 2004 08:20:53 +0000 (08:20 +0000)]
Some fixups when testing on IRIX.
The xfs_db push command semantics seem to have changed on Linux
since the port. On IRIX after a push, the state - such as the type -
which is pushed on the stack, no longer seems to be kept current.
Tim Shimmin [Mon, 21 Jun 2004 04:53:35 +0000 (04:53 +0000)]
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.
Don't need the p_check ... | p_purge as newer ptools will do
this automagically on p_tupdate.
Change clean state to "cleankernel"; missed on past renaming.
Don't need the p_check ... | p_purge as newer ptools will do
this automagically on p_tupdate.
Change clean state to "cleankernel"; missed on past renaming.
Add xfsdump support for the security extended attributes namespace.
Execute security attribute tests if $USE_ATTR_SECURE environment variable
is set to "yes" (security attribute tests disabled by default - "no").
ptools [Tue, 24 Feb 2004 02:58:40 +0000 (02:58 +0000)]
Add test 087 which uses fsstress to create meta ops and src/godown
to create a dirty log for recovery.
It checks that FS looks reasonable after recovery and is a consistent
state.
There are more v2 log variants yet to try.
Uses fsstress to create meta ops and src/godown to create a dirty log for recovery. It checks that FS looks reasonable after recovery and is a
consistent state. There are more v2 log variants yet to try.
ptools [Fri, 20 Feb 2004 04:15:18 +0000 (04:15 +0000)]
Fix up output for mkfs failure with logsize not a multiple
of stripe size. With impending mkfs change this should always
happen not just for non-aligned logs.
Fix up output for mkfs failure with logsize not a multiple
of stripe size. With impending mkfs change this should always
happen not just for non-aligned logs.
ptools [Fri, 20 Feb 2004 02:47:33 +0000 (02:47 +0000)]
Make some log recover tests work on other platforms -
don't print out $SCRATCH_MNT. Also test 64K v2 logs.
don't output $SCRATCH_MNT which varies on hosts
fsgqa [Tue, 17 Feb 2004 05:55:08 +0000 (05:55 +0000)]
Ensure dump/restore QA output is in a canonical whitespace form. In particular, sizes of directory inodes chan change, validly, between dumped/restored filesystems which was messing up diffs.
ptools [Fri, 13 Feb 2004 04:31:25 +0000 (04:31 +0000)]
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
ptools [Wed, 21 Jan 2004 00:43:00 +0000 (00:43 +0000)]
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.
Add support to properly dump and restore the new inode flags:
immutable, append, sync, noatime and nodump. Add all inode
flags, new and old, to the list defined in _mk_fillconfig_ea()
of cmd/xfstests/common.dump. Test 063 can be used to verify
the proper backup and restore of these flags. Also update man
pages to 1) remove reference to miniroot (IRIX-only), 2) document
the new XFS_XFLAG_NODUMP inode flag as the preferred method to
exclude files, and 3) better describe how the media inventory
files can be used.
The code for the inode flags was contributed by Ethan Benson,
with copyright assignment obtained by Nathan Scott.
Modify routine _mk_fillconfig_ea() to test each xflag, new and
old. This routine gets called by test 063 as it dumps and
restores the list of xflags and extended attributes defined in
_mk_fillconfig_ea().