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