While most tests use /bin/sh, they are dependent on /bin/sh being a
bash shell. Convert all the tests to execute via /bin/bash as it is
much, much simpler than trying to debug and remove all the bashisms
throughout the test code.
Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
240 files changed:
# FS QA Test No. 001
#
# Random file copier to produce chains of identical files so the head
# FS QA Test No. 001
#
# Random file copier to produce chains of identical files so the head
# FS QA Test No. 002
#
# simple inode link count test for a regular file
# FS QA Test No. 002
#
# simple inode link count test for a regular file
# FS QA Test No. 003
#
# exercise xfs_db bug #784078
# FS QA Test No. 003
#
# exercise xfs_db bug #784078
# FS QA Test No. 004
#
# exercise xfs_db bug #789674 and other freesp functionality
# FS QA Test No. 004
#
# exercise xfs_db bug #789674 and other freesp functionality
# FS QA Test No. 005
#
# Test symlinks & ELOOP
# FS QA Test No. 005
#
# Test symlinks & ELOOP
# FS QA Test No. 006
#
# permname
# FS QA Test No. 006
#
# permname
# FS QA Test No. 007
#
# drive the src/nametest program
# FS QA Test No. 007
#
# drive the src/nametest program
# FS QA Test No. 008
#
# randholes test
# FS QA Test No. 008
#
# randholes test
# FS QA Test No. 009
#
# XFS allocator test (preallocation - allocp, resvsp ,etc)
# FS QA Test No. 009
#
# XFS allocator test (preallocation - allocp, resvsp ,etc)
# FS QA Test No. 010
#
# dbtest
# FS QA Test No. 010
#
# dbtest
# FS QA Test No. 011
#
# dirstress
# FS QA Test No. 011
#
# dirstress
# FS QA Test No. 012
#
# holes
# FS QA Test No. 012
#
# holes
# FS QA Test No. 013
#
# fsstress
# FS QA Test No. 013
#
# fsstress
# FS QA Test No. 014
#
# truncfile
# FS QA Test No. 014
#
# truncfile
# FS QA Test No. 015
#
# check out-of-space behaviour
# FS QA Test No. 015
#
# check out-of-space behaviour
# FS QA Test No. 016
#
# test end of log overwrite bug #796141
# FS QA Test No. 016
#
# test end of log overwrite bug #796141
# FS QA Test No. 017
#
# test remount ro - pv 795642
# FS QA Test No. 017
#
# test remount ro - pv 795642
# FS QA Test No. 018
#
# xfs_logprint test - test v2 logs of different LR sizes
# FS QA Test No. 018
#
# xfs_logprint test - test v2 logs of different LR sizes
# FS QA Test No. 019
#
# mkfs protofile test
# FS QA Test No. 019
#
# mkfs protofile test
# FS QA Test No. 020
#
# extended attributes
# FS QA Test No. 020
#
# extended attributes
# FS QA Test No. 021
#
# xfs_db type attr test (pv 797508 linux-xfs & IRIX)
# FS QA Test No. 021
#
# xfs_db type attr test (pv 797508 linux-xfs & IRIX)
# FS QA Test No. 022
#
# Test out a level 0 dump/restore to a tape of a subdir
# FS QA Test No. 022
#
# Test out a level 0 dump/restore to a tape of a subdir
# FS QA Test No. 023
#
# To test xfsdump/restore to tape using a directory with
# FS QA Test No. 023
#
# To test xfsdump/restore to tape using a directory with
# FS QA Test No. 024
#
# Test out incremental dumps
# FS QA Test No. 024
#
# Test out incremental dumps
# FS QA Test No. 025
#
# Test dump/restore using -m option (min strategy)
# FS QA Test No. 025
#
# Test dump/restore using -m option (min strategy)
# FS QA Test No. 026
#
# Test xfsdump/xfsrestore to a dump file (as opposed to a tape)
# FS QA Test No. 026
#
# Test xfsdump/xfsrestore to a dump file (as opposed to a tape)
# FS QA Test No. 027
#
# Test out "xfsdump | xfsrestore"
# FS QA Test No. 027
#
# Test out "xfsdump | xfsrestore"
# FS QA Test No. 028
#
# To test out xfsinvutil
# FS QA Test No. 028
#
# To test out xfsinvutil
# FS QA Test No. 029
#
# exercise mkfs log (internal/external) zeroing
# FS QA Test No. 029
#
# exercise mkfs log (internal/external) zeroing
# FS QA Test No. 030
#
# exercise xfs_repair repairing broken filesystems
# FS QA Test No. 030
#
# exercise xfs_repair repairing broken filesystems
# FS QA Test No. 031
#
# exercise xfs_repair - ensure repeated use doesn't corrupt
# FS QA Test No. 031
#
# exercise xfs_repair - ensure repeated use doesn't corrupt
# FS QA Test No. 032
#
# cross check mkfs detection of foreign filesystems
# FS QA Test No. 032
#
# cross check mkfs detection of foreign filesystems
# FS QA Test No. 033
#
# exercise xfs_repair repairing broken filesystems (root inodes)
# FS QA Test No. 033
#
# exercise xfs_repair repairing broken filesystems (root inodes)
# FS QA Test No. 034
#
# pv 801241 - check for reference leaks from the *handle xfsctls
# FS QA Test No. 034
#
# pv 801241 - check for reference leaks from the *handle xfsctls
# FS QA Test No. 035
#
# Test doing multiple dumps to tape and restoring the 2nd one
# FS QA Test No. 035
#
# Test doing multiple dumps to tape and restoring the 2nd one
# FS QA Test No. 036
#
# Test xfsdump/restore minrmt to a remote IRIX tape
# FS QA Test No. 036
#
# Test xfsdump/restore minrmt to a remote IRIX tape
# FS QA Test No. 037
#
# Test xfsdump/restore minrmt to a remote linux tape
# FS QA Test No. 037
#
# Test xfsdump/restore minrmt to a remote linux tape
# FS QA Test No. 038
#
# Test xfsdump/restore to a remote linux tape
# FS QA Test No. 038
#
# Test xfsdump/restore to a remote linux tape
# FS QA Test No. 039
#
# Test xfsdump/restore to a remote IRIX tape
# FS QA Test No. 039
#
# Test xfsdump/restore to a remote IRIX tape
# FS QA Test No. 040
#
# srcdiff test
# FS QA Test No. 040
#
# srcdiff test
# FS QA Test No. 041
#
# growfs QA tests - repeatedly fill/grow the filesystem
# FS QA Test No. 041
#
# growfs QA tests - repeatedly fill/grow the filesystem
# FS QA Test No. 042
#
# xfs_fsr QA tests
# FS QA Test No. 042
#
# xfs_fsr QA tests
# FS QA Test No. 043
#
# Test out xfsdump/restore but rmv inventory prior to restore.
# FS QA Test No. 043
#
# Test out xfsdump/restore but rmv inventory prior to restore.
# FS QA Test No. 044
#
# external log uuid/format tests (TODO - version 2 log format)
# FS QA Test No. 044
#
# external log uuid/format tests (TODO - version 2 log format)
# FS QA Test No. 045
#
# test mount of two FSes with identical UUID and mount with unknown option
# FS QA Test No. 045
#
# test mount of two FSes with identical UUID and mount with unknown option
# FS QA Test No. 046
#
# check on symlinks permissions
# FS QA Test No. 046
#
# check on symlinks permissions
# FS QA Test No. 047
#
# invutil with interactive responses
# FS QA Test No. 047
#
# invutil with interactive responses
# FS QA Test No. 048
#
# test return codes from xfsctl on bad userspace address
# FS QA Test No. 048
#
# test return codes from xfsctl on bad userspace address
# FS QA Test No. 049
#
# XFS on loop test
# FS QA Test No. 049
#
# XFS on loop test
# FS QA Test No. 050
#
# Exercises basic XFS quota functionality
# FS QA Test No. 050
#
# Exercises basic XFS quota functionality
# FS QA Test No. 051
#
# Test out ACLs.
# FS QA Test No. 051
#
# Test out ACLs.
# in order to execute it.
touch file1
cat <<EOF >file1
# in order to execute it.
touch file1
cat <<EOF >file1
echo "Test was executed"
EOF
chmod u=rwx file1
echo "Test was executed"
EOF
chmod u=rwx file1
# FS QA Test No. 052
#
# Ensure that quota(1) displays blocksizes matching ondisk dquots.
# FS QA Test No. 052
#
# Ensure that quota(1) displays blocksizes matching ondisk dquots.
# FS QA Test No. 053
#
# xfs_repair breaks acls
# FS QA Test No. 053
#
# xfs_repair breaks acls
# FS QA Test No. 054
#
# Check behavior of chown with both user and group quota enabled,
# FS QA Test No. 054
#
# Check behavior of chown with both user and group quota enabled,
# FS QA Test No. 055
#
# Test xfsdump/restore to a remote IRIX tape using RMT user
# FS QA Test No. 055
#
# Test xfsdump/restore to a remote IRIX tape using RMT user
# FS QA Test No. 056
#
# Test xfsdump/xfsrestore to a dump file (as opposed to a tape)
# FS QA Test No. 056
#
# Test xfsdump/xfsrestore to a dump file (as opposed to a tape)
# FS QA Test No. 057
#
# Place holder for test 075. Test out the different acl_get semantics
# FS QA Test No. 057
#
# Place holder for test 075. Test out the different acl_get semantics
# FS QA Test No. 058
#
# Place holder test 068. Test some ACL API functions.
# FS QA Test No. 058
#
# Place holder test 068. Test some ACL API functions.
# FS QA Test No. 059
#
# place holder for IRIX 059 test for xfsdump/xfsrestore multi streams
# FS QA Test No. 059
#
# place holder for IRIX 059 test for xfsdump/xfsrestore multi streams
# FS QA Test No. 060
#
# place holder for IRIX 060 test for xfsdump/xfsrestore multi streams
# FS QA Test No. 060
#
# place holder for IRIX 060 test for xfsdump/xfsrestore multi streams
# FS QA Test No. 061
#
# Test restoring a dump created in IRIX/XFS
# FS QA Test No. 061
#
# Test restoring a dump created in IRIX/XFS
# FS QA Test No. 062
#
# Exercises the getfattr/setfattr tools
# FS QA Test No. 062
#
# Exercises the getfattr/setfattr tools
# FS QA Test No. 063
#
# xfsdump/xfsrestore with EAs
# FS QA Test No. 063
#
# xfsdump/xfsrestore with EAs
# FS QA Test No. 064
#
# test multilevel dump and restores with hardlinks
# FS QA Test No. 064
#
# test multilevel dump and restores with hardlinks
# FS QA Test No. 065
#
# Testing incremental dumps and cumulative restores with
# FS QA Test No. 065
#
# Testing incremental dumps and cumulative restores with
# FS QA Test No. 066
#
# Test dumping of large files
# FS QA Test No. 066
#
# Test dumping of large files
# FS QA Test No. 067
#
# Test out acl/dacls which fit in shortform in the inode
# FS QA Test No. 067
#
# Test out acl/dacls which fit in shortform in the inode
# FSQA Test No. 068
#
# Test case to reproduce xfs_freeze hang under filsystem load.
# FSQA Test No. 068
#
# Test case to reproduce xfs_freeze hang under filsystem load.
# FS QA Test No. 069
#
# Test out writes with O_APPEND flag sets.
# FS QA Test No. 069
#
# Test out writes with O_APPEND flag sets.
# FS QA Test No. 070
#
# fsstress incarnation testing extended attributes writes
# FS QA Test No. 070
#
# fsstress incarnation testing extended attributes writes
# FS QA Test No. 071
#
# Exercise IO at large file offsets.
# FS QA Test No. 071
#
# Exercise IO at large file offsets.
# FS QA Test No. 072
#
# Check some unwritten extent boundary conditions
# FS QA Test No. 072
#
# Check some unwritten extent boundary conditions
# FS QA Test No. 073
#
# Test xfs_copy
# FS QA Test No. 073
#
# Test xfs_copy
# FS QA Test No. 074
#
# fstest
# FS QA Test No. 074
#
# fstest
# FS QA Test No. 075
#
# fsx (non-AIO variant)
# FS QA Test No. 075
#
# fsx (non-AIO variant)
# FS QA Test No. 076
#
# Test blockdev reads in parallel with filesystem reads/writes
# FS QA Test No. 076
#
# Test blockdev reads in parallel with filesystem reads/writes
# FS QA Test No. 077
#
# Check use of ACLs (extended attributes) on a full filesystem
# FS QA Test No. 077
#
# Check use of ACLs (extended attributes) on a full filesystem
# FS QA Test No. 078
#
# Check several growfs corner cases
# FS QA Test No. 078
#
# Check several growfs corner cases
# FS QA Test No. 079
#
# Run the t_immutable test program for immutable/append-only files.
# FS QA Test No. 079
#
# Run the t_immutable test program for immutable/append-only files.
# FS QA Test No. 080
#
# rwtest (iogen|doio)
# FS QA Test No. 080
#
# rwtest (iogen|doio)
# FS QA Test No. 081
#
# To test out logprint with quotas
# FS QA Test No. 081
#
# To test out logprint with quotas
# FS QA Test No. 082
#
# Test out the v2 stripe logs with logprint
# FS QA Test No. 082
#
# Test out the v2 stripe logs with logprint
# FS QA Test No. 083
#
# Exercise filesystem full behaviour - run numerous fsstress
# FS QA Test No. 083
#
# Exercise filesystem full behaviour - run numerous fsstress
# FS QA Test No. 084
#
# Exercises unwritten extent reads and writes, looking
# FS QA Test No. 084
#
# Exercises unwritten extent reads and writes, looking
# FS QA Test No. 085
#
# To test log replay by shutdown of file system
# FS QA Test No. 085
#
# To test log replay by shutdown of file system
# FS QA Test No. 086
#
# To test log replay with version 2 logs
# FS QA Test No. 086
#
# To test log replay with version 2 logs
# FS QA Test No. 087
#
# * like 086 but want to create more/different kinds of metadata
# FS QA Test No. 087
#
# * like 086 but want to create more/different kinds of metadata
# FS QA Test No. 088
#
# test out CAP_DAC_OVERRIDE and CAP_DAC_SEARCH code in
# FS QA Test No. 088
#
# test out CAP_DAC_OVERRIDE and CAP_DAC_SEARCH code in
# FS QA Test No. 089
#
# Emulate the way Linux mount manipulates /etc/mtab to attempt to
# FS QA Test No. 089
#
# Emulate the way Linux mount manipulates /etc/mtab to attempt to
# FS QA Test No. 090
#
# Exercise IO on the realtime device (direct, buffered, mmapd)
# FS QA Test No. 090
#
# Exercise IO on the realtime device (direct, buffered, mmapd)
# FS QA Test No. 091
#
# fsx exercising direct IO -- sub-block sizes and concurrent buffered IO
# FS QA Test No. 091
#
# fsx exercising direct IO -- sub-block sizes and concurrent buffered IO
# FS QA Test No. 092
#
# Make sure that we can mount inode64 filesystems
# FS QA Test No. 092
#
# Make sure that we can mount inode64 filesystems
# FS QA Test No. 093
#
# Test out for IRIX the removal of file capabilities when
# FS QA Test No. 093
#
# Test out for IRIX the removal of file capabilities when
uid=`grep $user /etc/passwd | $AWK_PROG -F: '{print $3}'`
cat >$tmp.append <<EOF
uid=`grep $user /etc/passwd | $AWK_PROG -F: '{print $3}'`
cat >$tmp.append <<EOF
echo data >>$file
EOF
chmod ugo+x $tmp.append
echo data >>$file
EOF
chmod ugo+x $tmp.append
# FS QA Test No. 094
#
# Exercising the inheritable realtime inode bit.
# FS QA Test No. 094
#
# Exercising the inheritable realtime inode bit.
# FS QA Test No. 095
#
# test out xfs_chver on IRIX
# FS QA Test No. 095
#
# test out xfs_chver on IRIX
# FS QA Test No. 096
#
# test out mkfs_xfs output on IRIX/Linux and some of its error handling
# FS QA Test No. 096
#
# test out mkfs_xfs output on IRIX/Linux and some of its error handling
# FS QA Test No. 097. Modifed from UDFQA test 033.
#
# simple attr tests for EAs:
# FS QA Test No. 097. Modifed from UDFQA test 033.
#
# simple attr tests for EAs:
# FS QA Test No. 098. Modified from UDFQA test 035
#
# simple attr tests for EAs:
# FS QA Test No. 098. Modified from UDFQA test 035
#
# simple attr tests for EAs:
# FS QA Test No. 099. Modified from UDFQA test 036.
#
# ACL test
# FS QA Test No. 099. Modified from UDFQA test 036.
#
# ACL test
# in order to execute it.
touch file1
cat <<EOF >file1
# in order to execute it.
touch file1
cat <<EOF >file1
echo "Test was executed"
EOF
chmod u=rwx file1
echo "Test was executed"
EOF
chmod u=rwx file1
# FS QA Test No. 100. Modified from UDF QA test 030.
#
# Test whether a tarred directory structure can be untarred onto
# FS QA Test No. 100. Modified from UDF QA test 030.
#
# Test whether a tarred directory structure can be untarred onto
# FS QA Test No. 101. Modified from UDFQA test 029.
#
# This tests mkfs_udf with -s [SIZE] option.
# FS QA Test No. 101. Modified from UDFQA test 029.
#
# This tests mkfs_udf with -s [SIZE] option.
# FS QA Test No. 102
#
# This tests mkfs_udf/mkudffs and the device detection code
# FS QA Test No. 102
#
# This tests mkfs_udf/mkudffs and the device detection code
# FS QA Test No. 103
#
# Exercise the XFS nosymlinks inode flag
# FS QA Test No. 103
#
# Exercise the XFS nosymlinks inode flag
# FS QA Test No. 104
#
# XFS online growfs-while-allocating tests (data subvol variant)
# FS QA Test No. 104
#
# XFS online growfs-while-allocating tests (data subvol variant)
# FS QA Test No. 105
#
# Test fix of bug:
# FS QA Test No. 105
#
# Test fix of bug:
# FS QA Test No. 106
#
# Exercise basic xfs_quota functionality (user/group/project quota)
# FS QA Test No. 106
#
# Exercise basic xfs_quota functionality (user/group/project quota)
# FS QA Test No. 107
#
# Project quota.
# FS QA Test No. 107
#
# Project quota.
# FS QA Test No. 108
#
# Simple quota accounting test for direct/buffered/mmap IO.
# FS QA Test No. 108
#
# Simple quota accounting test for direct/buffered/mmap IO.
# FS QA Test No. 109
#
# ENOSPC deadlock case from Asano Masahiro.
# FS QA Test No. 109
#
# ENOSPC deadlock case from Asano Masahiro.
# FS QA Test No. 110
#
# Incorrect dir2 freetab warning case from Masanori Tsuda.
# FS QA Test No. 110
#
# Incorrect dir2 freetab warning case from Masanori Tsuda.
# FS QA Test No. 111
#
# Infinite xfs_bulkstat bad-inode loop case from Roger Willcocks.
# FS QA Test No. 111
#
# Infinite xfs_bulkstat bad-inode loop case from Roger Willcocks.
# FS QA Test No. 112
#
# fsx (AIO variant, based on 075)
# FS QA Test No. 112
#
# fsx (AIO variant, based on 075)
# FS QA Test No. 113
#
# aio-stress
# FS QA Test No. 113
#
# aio-stress
# FS QA Test No. 114
#
# Test some parent ptr stuff
# FS QA Test No. 114
#
# Test some parent ptr stuff
# FS QA Test No. 115
#
# Test out xfs_repair_ipaths
# FS QA Test No. 115
#
# Test out xfs_repair_ipaths
# FS QA Test No. 116
#
# pv#940491
# FS QA Test No. 116
#
# pv#940491
# FS QA Test No. 117
#
# Attempt to cause filesystem corruption with serial fsstresses doing
# FS QA Test No. 117
#
# Attempt to cause filesystem corruption with serial fsstresses doing
# FS QA Test No. 118
#
# To test out pv#940675 crash in xfs_trans_brelse + quotas
# FS QA Test No. 118
#
# To test out pv#940675 crash in xfs_trans_brelse + quotas
# FS QA Test No. 119
#
# Leaking reservation space in the GRH
# FS QA Test No. 119
#
# Leaking reservation space in the GRH
# FS QA Test No. 120
#
# Test noatime mount option.
# FS QA Test No. 120
#
# Test noatime mount option.
# FS QA Test No. 121
#
# To test log replay for the unlinked list.
# FS QA Test No. 121
#
# To test log replay for the unlinked list.
# FS QA Test No. 122
#
# pv#952498
# FS QA Test No. 122
#
# pv#952498
# FSQA Test No. 123
#
# Make sure user cannot overwrite, append, delete or move a file created by
# FSQA Test No. 123
#
# Make sure user cannot overwrite, append, delete or move a file created by
{
if [ "$HOSTOS" == "IRIX" ]
then
{
if [ "$HOSTOS" == "IRIX" ]
then
- echo $1 | /bin/sh "su $qa_user 2>&1" | _filter_user_do
+ echo $1 | /bin/bash "su $qa_user 2>&1" | _filter_user_do
else
echo $1 | su $qa_user 2>&1 | _filter_user_do
fi
else
echo $1 | su $qa_user 2>&1 | _filter_user_do
fi
# FSQA Test No. 124
#
# Test preallocated_rw_pattern_test modified from CXFSQA test preallocated_rw_pattern_test
# FSQA Test No. 124
#
# Test preallocated_rw_pattern_test modified from CXFSQA test preallocated_rw_pattern_test
# FSQA Test No. 125
#
# ftruncate test, modified from CXFSQA tests cxfs_ftrunc and cxfs_trunc
# FSQA Test No. 125
#
# ftruncate test, modified from CXFSQA tests cxfs_ftrunc and cxfs_trunc
# FSQA Test No. 126
#
# tests various file permission options modified from CXFSQA test fs_perms
# FSQA Test No. 126
#
# tests various file permission options modified from CXFSQA test fs_perms
# FSQA Test No. 127
#
# fsx tests modified from CXFSQA tests
# FSQA Test No. 127
#
# fsx tests modified from CXFSQA tests
# FSQA Test No. 128
#
# Test nosuid mount option modified from CXFSQA test mount_option_nosuid
# FSQA Test No. 128
#
# Test nosuid mount option modified from CXFSQA test mount_option_nosuid
chmod 700 $SCRATCH_MNT/nosuid
chmod 4755 $SCRATCH_MNT/ls
chmod 700 $SCRATCH_MNT/nosuid
chmod 4755 $SCRATCH_MNT/ls
-su -s/bin/sh - $qa_user -c "$SCRATCH_MNT/ls $SCRATCH_MNT/nosuid >/dev/null 2>&1"
+su -s/bin/bash - $qa_user -c "$SCRATCH_MNT/ls $SCRATCH_MNT/nosuid >/dev/null 2>&1"
if [ $? -eq 0 ] ; then
echo "Error: we shouldn't be able to ls the directory"
fi
if [ $? -eq 0 ] ; then
echo "Error: we shouldn't be able to ls the directory"
fi
# FSQA Test No. 129
#
# looptests created from CXFSQA test looptest
# FSQA Test No. 129
#
# looptests created from CXFSQA test looptest
# FSQA Test No. 130
#
# xfs_io vector read/write and trunc tests. modified from cxfsqa tests
# FSQA Test No. 130
#
# xfs_io vector read/write and trunc tests. modified from cxfsqa tests
# FSQA Test No. 131
#
# lock test created from CXFSQA test lockfile_simple
# FSQA Test No. 131
#
# lock test created from CXFSQA test lockfile_simple
# FSQA Test No. 132
#
# xfs_io aligned vector rw created from CXFSQA test
# FSQA Test No. 132
#
# xfs_io aligned vector rw created from CXFSQA test
# FSQA Test No. 133
#
# Concurrent I/O to same file to ensure no deadlocks
# FSQA Test No. 133
#
# Concurrent I/O to same file to ensure no deadlocks
# FS QA Test No. 134
#
# test to reproduce PV951636:
# FS QA Test No. 134
#
# test to reproduce PV951636:
# FSQA Test No. 135
#
# Concurrent I/O to same file to ensure no deadlocks
# FSQA Test No. 135
#
# Concurrent I/O to same file to ensure no deadlocks
# FS QA Test No. 136
#
# Test the attr2 code
# FS QA Test No. 136
#
# Test the attr2 code
# FSQA Test No. 137
#
# Test for NULL files problem
# FSQA Test No. 137
#
# Test for NULL files problem
# FSQA Test No. 138
#
# Test for NULL files problem
# FSQA Test No. 138
#
# Test for NULL files problem
# FSQA Test No. 139
#
# Test for NULL files problem
# FSQA Test No. 139
#
# Test for NULL files problem
# FSQA Test No. 140
#
# Test for NULL files problem
# FSQA Test No. 140
#
# Test for NULL files problem
# FSQA Test No. 141
#
# Test for xfs_io mmap read problem
# FSQA Test No. 141
#
# Test for xfs_io mmap read problem
# FSQA Test No. 142
#
# Dmapi get/set_dmattr
# FSQA Test No. 142
#
# Dmapi get/set_dmattr
# FSQA Test No. 143
#
# Dmapi get/set_eventlist
# FSQA Test No. 143
#
# Dmapi get/set_eventlist
# FSQA Test No. 144
#
# Dmapi get/set_fileattr, get_bulkattr, get_dirattrs
# FSQA Test No. 144
#
# Dmapi get/set_fileattr, get_bulkattr, get_dirattrs
# FSQA Test No. 145
#
# Dmapi probe/punch_hole
# FSQA Test No. 145
#
# Dmapi probe/punch_hole
# FSQA Test No. 146
#
# Dmapi read/write_invis
# FSQA Test No. 146
#
# Dmapi read/write_invis
# FSQA Test No. 147
#
# Dmapi get/set_region
# FSQA Test No. 147
#
# Dmapi get/set_region
# FS QA Test No. 148
#
# Exercise xfs parallel repair on broken filesystems
# FS QA Test No. 148
#
# Exercise xfs parallel repair on broken filesystems
# FS QA Test No. 149
#
# Exercise xfs_prepair - ensure repeated use doesn't corrupt
# FS QA Test No. 149
#
# Exercise xfs_prepair - ensure repeated use doesn't corrupt
# FSQA Test No. 150
#
# Set DM_EVENT_RENAME event on a DMAPI filesystem and verify it is set.
# FSQA Test No. 150
#
# Set DM_EVENT_RENAME event on a DMAPI filesystem and verify it is set.
# FSQA Test No. 151
#
# Create three DMAPI sessions,
# FSQA Test No. 151
#
# Create three DMAPI sessions,
# FSQA Test No. 152
#
# Verify DMAPI functions
# FSQA Test No. 152
#
# Verify DMAPI functions
# FSQA Test No. 153
#
# Associate filesystem with a session by setting DMAPI DM_EVENT_RENAME
# FSQA Test No. 153
#
# Associate filesystem with a session by setting DMAPI DM_EVENT_RENAME
# FSQA Test No. 154
#
# Get DMAPI filesystem handle
# FSQA Test No. 154
#
# Get DMAPI filesystem handle
# FSQA Test No. 155
#
# DMAPI event DM_EVENT_RENAME generation
# FSQA Test No. 155
#
# DMAPI event DM_EVENT_RENAME generation
# FSQA Test No. 156
#
# DMAPI get directory attributes (simple check
# FSQA Test No. 156
#
# DMAPI get directory attributes (simple check
# FSQA Test No. 157
#
# get/set DMAPI attributes
# FSQA Test No. 157
#
# get/set DMAPI attributes
# FSQA Test No. 158
#
# get/set file attributes
# FSQA Test No. 158
#
# get/set file attributes
# FSQA Test No. 159
#
# Create DMAPI event and respond to it.
# FSQA Test No. 159
#
# Create DMAPI event and respond to it.
# FSQA Test No. 160
#
# Change and view DMAPI access rights.
# FSQA Test No. 160
#
# Change and view DMAPI access rights.
# FSQA Test No. 161
#
# DMAPI function punch hole. Create 3Mb file and punch a hole from
# FSQA Test No. 161
#
# DMAPI function punch hole. Create 3Mb file and punch a hole from
# FSQA Test No. 162
#
# Placing holds on objects
# FSQA Test No. 162
#
# Placing holds on objects
# FSQA Test No. 163
#
# File descriptor to handle conversion
# FSQA Test No. 163
#
# File descriptor to handle conversion
# FS QA Test No. 164
#
# To test for short dio reads on IRIX and Linux - pv#962005/962547
# FS QA Test No. 164
#
# To test for short dio reads on IRIX and Linux - pv#962005/962547
# FS QA Test No. 165
#
# Test out prealloc, direct writes and buffered read
# FS QA Test No. 165
#
# Test out prealloc, direct writes and buffered read
# FSQA Test No. 166
#
# ->page-mkwrite test - unwritten extents and mmap
# FSQA Test No. 166
#
# ->page-mkwrite test - unwritten extents and mmap
# FSQA Test No. 167
#
# unwritten extent conversion test
# FSQA Test No. 167
#
# unwritten extent conversion test
# FSQA Test No. 168
#
# Check for DMAPI destroy events when removing files without attributes
# FSQA Test No. 168
#
# Check for DMAPI destroy events when removing files without attributes
# FSQA Test No. 169
#
# Test for file size consistency with append followed by umount/mount
# FSQA Test No. 169
#
# Test for file size consistency with append followed by umount/mount
# FSQA Test No. 171
#
# Check the filestreams allocator is doing its job.
# FSQA Test No. 171
#
# Check the filestreams allocator is doing its job.
# FSQA Test No. 172
#
# Check the filestreams allocator is doing its job.
# FSQA Test No. 172
#
# Check the filestreams allocator is doing its job.
# FSQA Test No. 173
#
# Check the filestreams allocator is doing its job.
# FSQA Test No. 173
#
# Check the filestreams allocator is doing its job.
# FSQA Test No. 174
#
# Check the filestreams allocator is doing its job.
# FSQA Test No. 174
#
# Check the filestreams allocator is doing its job.
# FSQA Test No. 175
#
# Hole punching with extsize hints, holes may not reported by xfs_bmap.
# FSQA Test No. 175
#
# Hole punching with extsize hints, holes may not reported by xfs_bmap.
# FSQA Test No. 176
#
# Check if resvsp on file create effects bmap output after hole punch.
# FSQA Test No. 176
#
# Check if resvsp on file create effects bmap output after hole punch.
# FS QA Test No. 177
#
# Test to reproduce PV#: 964316
# FS QA Test No. 177
#
# Test to reproduce PV#: 964316
# FS QA Test No. 178
#
# Reproduce PV#:967665
# FS QA Test No. 178
#
# Reproduce PV#:967665
# FSQA Test No. 179
#
# Test for NULL files problem
# FSQA Test No. 179
#
# Test for NULL files problem
# FSQA Test No. 180
#
# Test for NULL files problem
# FSQA Test No. 180
#
# Test for NULL files problem
# FS QA Test No. 181
#
# Like 121 only creating large EAs
# FS QA Test No. 181
#
# Like 121 only creating large EAs
# FSQA Test No. 182
#
# Test for NULL files problem
# FSQA Test No. 182
#
# Test for NULL files problem
# FS QA Test No. 183
#
# Test to check bulkstat returns unlinked-but-referenced inodes
# FS QA Test No. 183
#
# Test to check bulkstat returns unlinked-but-referenced inodes
# FS QA Test No. 184
#
# check mknod makes working nodes.
# FS QA Test No. 184
#
# check mknod makes working nodes.
# FSQA Test No. 185
#
# Dmapi Punch/Probe Alignment compared to xfsctl(FREESPACE);
# FSQA Test No. 185
#
# Dmapi Punch/Probe Alignment compared to xfsctl(FREESPACE);
# FS QA Test No. 186
#
# Test out:
# FS QA Test No. 186
#
# Test out:
# FS QA Test No. 187
#
# To test out the noattr2 flag which is broken in pv#980021
# FS QA Test No. 187
#
# To test out the noattr2 flag which is broken in pv#980021
# FS QA Test No. 188
#
# drive the src/nametest program for CI mode
# FS QA Test No. 188
#
# drive the src/nametest program for CI mode
# FS QA Test No. 189
#
# Test remount behaviour
# FS QA Test No. 189
#
# Test remount behaviour
# FSQA Test No. 190
#
# This test uses xfs_io to unreserve space in a file at various different
# FSQA Test No. 190
#
# This test uses xfs_io to unreserve space in a file at various different
# FS QA Test No. 191
#
# To call into the nfs4acl qa suite of Andreas Gruenbacher.
# FS QA Test No. 191
#
# To call into the nfs4acl qa suite of Andreas Gruenbacher.
# FS QA Test No. 192
#
# Simple test of atime
# FS QA Test No. 192
#
# Simple test of atime
# FS QA Test No. 193
#
# Test permission checks in ->setattr
# FS QA Test No. 193
#
# Test permission checks in ->setattr
# FS QA Test No. 194
#
# Test mapping around/over holes for sub-page blocks
# FS QA Test No. 194
#
# Test mapping around/over holes for sub-page blocks
# FS QA Test No. 195
#
# Make sure the chattr dump flag gets picked up by xfsdump without a sync
# FS QA Test No. 195
#
# Make sure the chattr dump flag gets picked up by xfsdump without a sync
# FS QA Test No. 196
#
# Make sure renames accross project boundaries are properly rejected
# FS QA Test No. 196
#
# Make sure renames accross project boundaries are properly rejected
# FS QA Test No. 197
#
# Check that d_off can be represented in a 32 bit long type without
# FS QA Test No. 197
#
# Check that d_off can be represented in a 32 bit long type without
# FS QA Test No. 198
#
# Test that aio+dio into holes does completion at the proper offsets
# FS QA Test No. 198
#
# Test that aio+dio into holes does completion at the proper offsets
# FS QA Test No. 199
#
# Check that the features2 location fixups work correctly. We check both
# FS QA Test No. 199
#
# Check that the features2 location fixups work correctly. We check both
# FS QA Test No. 200
#
# Check out various mount/remount/unmount scenarious on a read-only blockdev.
# FS QA Test No. 200
#
# Check out various mount/remount/unmount scenarious on a read-only blockdev.
# FS QA Test No. 201
#
# Test out the infamous xfs_btree_delrec corruption.
# FS QA Test No. 201
#
# Test out the infamous xfs_btree_delrec corruption.
# FS QA Test No. 202
#
# Test out the xfs_repair -o force_geometry option on single-AG filesystems.
# FS QA Test No. 202
#
# Test out the xfs_repair -o force_geometry option on single-AG filesystems.
# FS QA Test No. 203
#
# Test out reallocation of the extent array in xfs_io.
# FS QA Test No. 203
#
# Test out reallocation of the extent array in xfs_io.
# FS QA Test No. 204
#
# Test out ENOSPC flushing on small filesystems.
# FS QA Test No. 204
#
# Test out ENOSPC flushing on small filesystems.
# FS QA Test No. 205
#
# Test out ENOSPC flushing on small filesystems.
# FS QA Test No. 205
#
# Test out ENOSPC flushing on small filesystems.
# FS QA Test No. 206
#
# Test trim of last small AG for large filesystem resizes
# FS QA Test No. 206
#
# Test trim of last small AG for large filesystem resizes
# FS QA Test No. 207
#
# Run aio-dio-extend-stat - test race in dio aio completion
# FS QA Test No. 207
#
# Run aio-dio-extend-stat - test race in dio aio completion
# FS QA Test No. 208
#
# Run aio-dio-invalidate-failure - test race in read cache invalidation
# FS QA Test No. 208
#
# Run aio-dio-invalidate-failure - test race in read cache invalidation
# FS QA Test No. 209
#
# Run aio-dio-invalidate-readahead - test sync DIO invalidation of readahead
# FS QA Test No. 209
#
# Run aio-dio-invalidate-readahead - test sync DIO invalidation of readahead
# FS QA Test No. 210
#
# Run aio-dio-subblock-eof-read - test AIO read of last block of DIO file
# FS QA Test No. 210
#
# Run aio-dio-subblock-eof-read - test AIO read of last block of DIO file
# FS QA Test No. 211
#
# Run aio-free-ring-with-bogus-nr-pages - test aio_setup_ring with bad nr_pages
# FS QA Test No. 211
#
# Run aio-free-ring-with-bogus-nr-pages - test aio_setup_ring with bad nr_pages
# FS QA Test No. 212
#
# Run aio-io-setup-with-nonwritable-context-pointer -
# FS QA Test No. 212
#
# Run aio-io-setup-with-nonwritable-context-pointer -
# FS QA Test No. 213
#
# Check some unwritten extent boundary conditions, fallocate version.
# FS QA Test No. 213
#
# Check some unwritten extent boundary conditions, fallocate version.
# FS QA Test No. 214
#
# Basic unwritten extent sanity checks
# FS QA Test No. 214
#
# Basic unwritten extent sanity checks
# FS QA Test No. 215
#
# Test out c/mtime updates after mapped writes.
# FS QA Test No. 215
#
# Test out c/mtime updates after mapped writes.
# FS QA Test No. 216
#
# log size mkfs test - ensure the log size scaling works for small filesystems
# FS QA Test No. 216
#
# log size mkfs test - ensure the log size scaling works for small filesystems
# FS QA Test No. 217
#
# large log size mkfs test - ensure the log size scaling works
# FS QA Test No. 217
#
# large log size mkfs test - ensure the log size scaling works
# FS QA Test No. 218
#
# Basic defragmentation sanity tests
# FS QA Test No. 218
#
# Basic defragmentation sanity tests
# FS QA Test No. 219
#
# Simple quota accounting test for direct/buffered/mmap IO.
# FS QA Test No. 219
#
# Simple quota accounting test for direct/buffered/mmap IO.
# FS QA Test No. 220
#
# Test quota off handling.
# FS QA Test No. 220
#
# Test quota off handling.
# FS QA Test No. 221
#
# Check ctime updates when calling futimens without UTIME_OMIT for the
# FS QA Test No. 221
#
# Check ctime updates when calling futimens without UTIME_OMIT for the
# FS QA Test No. 222
#
# xfs_fsr QA tests
# FS QA Test No. 222
#
# xfs_fsr QA tests
#
# Wrapper for automating benchmarking runs.
# Usage: bench passes user group [script]
#
# Wrapper for automating benchmarking runs.
# Usage: bench passes user group [script]
#
# Control script for QA
#
#
# Control script for QA
#
#
# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
#
#-----------------------------------------------------------------------
# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
# This program is free software; you can redistribute it and/or modify
#-----------------------------------------------------------------------
# Copyright (c) 2000-2004 Silicon Graphics, Inc. All Rights Reserved.
# This program is free software; you can redistribute it and/or modify
#
# Copyright (c) 2002-2004 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2004 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2003,2006 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2003,2006 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2009 Eric Sandeen
# All Rights Reserved.
#
# Copyright (c) 2009 Eric Sandeen
# All Rights Reserved.
#
# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003-2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003-2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
# All Rights Reserved.
#
# Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
# All Rights Reserved.
#-----------------------------------------------------------------------
# Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved.
# This program is free software; you can redistribute it and/or modify
#-----------------------------------------------------------------------
# Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved.
# This program is free software; you can redistribute it and/or modify
#
# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
#