Skip to contentSkip to conversation

xfstests: Convert all tests to use /bin/bash

PATCH In review Dave Chinner 2 participants 3 messages Jan 19, 2010

lore
Share & tools
lore
#0 lore raw

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
index 4fe443d..8e3aabd 100755
@@ -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
index 237580b..896fd1e 100755
@@ -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
index 6120cc5..61afac5 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 003
 #
 # exercise xfs_db bug #784078
004 +1 -1
index a88fc10..9f28e17 100755
@@ -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
index a9e9086..205256c 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 005
 #
 # Test symlinks & ELOOP
006 +1 -1
index 96f4426..e4d5e32 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 006
 #
 # permname
007 +1 -1
index f22d09b..50a8418 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 007
 #
 # drive the src/nametest program
008 +1 -1
index 519b1a9..dfc938a 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 008
 #
 # randholes test
009 +1 -1
index 37082c5..d2a19d8 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 009
 #
 # XFS allocator test (preallocation - allocp, resvsp ,etc)
010 +1 -1
index 9ee889a..78813a8 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 010
 #
 # dbtest
011 +1 -1
index 7906850..2fcc9d3 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 011
 #
 # dirstress
012 +1 -1
index 123c7a3..7d33f4c 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 012
 #
 # holes
013 +1 -1
index 4c5612b..58426ea 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 013
 #
 # fsstress
014 +1 -1
index ce5b0f8..a2be25a 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 014
 #
 # truncfile
015 +1 -1
index 9189e2d..8f2be7c 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 015
 #
 # check out-of-space behaviour
016 +1 -1
index 3a55d3a..980eb0b 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 016
 #
 # test end of log overwrite bug #796141
017 +1 -1
index e72ab52..9ca0e72 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 017
 #
 # test remount ro - pv 795642
018 +1 -1
index 8674ec5..85df390 100755
@@ -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
index 44d3259..42e3c22 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 019
 #
 # mkfs protofile test
020 +1 -1
index c843bf5..0118e61 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 020
 #
 # extended attributes
021 +1 -1
index 11c8612..18284eb 100755
@@ -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
index 90b46fb..76d18e6 100755
@@ -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
index 8d77acb..b9eeafe 100755
@@ -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
index ba3fec2..de5ab5f 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 024
 #
 # Test out incremental dumps
025 +1 -1
index a0da452..90d3389 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 025
 #
 # Test dump/restore using -m option (min strategy) 
026 +1 -1
index 25a6a7d..ef6aaa6 100755
@@ -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
index 222599b..9df06c3 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 027
 #
 # Test out "xfsdump | xfsrestore"
028 +1 -1
index 45dd7c6..6628f66 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 028
 #
 # To test out xfsinvutil
029 +1 -1
index b9c5f11..e4fe715 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 029
 #
 # exercise mkfs log (internal/external) zeroing
030 +1 -1
index f4517f5..74147d4 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 030
 #
 # exercise xfs_repair repairing broken filesystems
031 +1 -1
index d6383d8..b062277 100755
@@ -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
index 5db89ad..839b913 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 032
 #
 # cross check mkfs detection of foreign filesystems
033 +1 -1
index 599af62..9651f26 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 033
 #
 # exercise xfs_repair repairing broken filesystems (root inodes)
034 +1 -1
index 8af259c..c09f63b 100755
@@ -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
index 592605b..34f5cac 100755
@@ -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
index ac14e1a..4ed2ebc 100755
@@ -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
index 736385d..fd1e1af 100755
@@ -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
index 5796d93..f2af214 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 038
 #
 # Test xfsdump/restore to a remote linux tape 
039 +1 -1
index b4dda5e..016d2bc 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 039
 #
 # Test xfsdump/restore to a remote IRIX tape 
040 +1 -1
index 4481aeb..ea24ff5 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 040
 #
 # srcdiff test
041 +1 -1
index a49937c..2800811 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 041
 #
 # growfs QA tests - repeatedly fill/grow the filesystem
042 +1 -1
index ca6b365..7ac5492 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 042
 #
 # xfs_fsr QA tests
043 +1 -1
index cc8104e..189dc5b 100755
@@ -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
index 80631ba..60a6e58 100755
@@ -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
index 736a777..db40333 100755
@@ -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
index 4c4c39f..783459c 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 046
 #
 # check on symlinks permissions
047 +1 -1
index 72ed2d5..f5f6a52 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 047
 #
 # invutil with interactive responses
048 +1 -1
index 4d74b56..9d360d6 100755
@@ -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
index a0559c3..3d3f030 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 049
 #
 # XFS on loop test
050 +1 -1
index 306a7b5..57dfa92 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 050
 #
 # Exercises basic XFS quota functionality
051 +2 -2
index bf951c2..238abe9 100755
@@ -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
index 3d8bb9e..2d8b73d 100755
@@ -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
index f28db3f..98644a7 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 053
 #
 # xfs_repair breaks acls
054 +1 -1
index b38efab..e5e500c 100755
@@ -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
index 330d933..309b9c3 100755
@@ -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
index 1578408..a19b85a 100755
@@ -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
index 5d427b0..f3219a3 100755
@@ -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
index c1290c8..43b2293 100755
@@ -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
index 52033cc..6348f0e 100755
@@ -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
index 3f6e349..6e58e5b 100755
@@ -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
index 8c125d1..414675f 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 061
 #
 # Test restoring a dump created in IRIX/XFS
062 +1 -1
index b4144b9..76ad513 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 062
 #
 # Exercises the getfattr/setfattr tools
063 +1 -1
index 3bc4fd7..d2b8a9f 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 063
 #
 # xfsdump/xfsrestore with EAs
064 +1 -1
index be7b22d..16960c9 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 064
 #
 # test multilevel dump and restores with hardlinks
065 +1 -1
index 54419ae..f21a87f 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 065
 #
 # Testing incremental dumps and cumulative restores with
066 +1 -1
index 1d637d1..a6e76c1 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 066
 #
 # Test dumping of large files
067 +1 -1
index 2ac7878..5ab743e 100755
@@ -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
index 82c1a4e..5d0053d 100755
@@ -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
index cf55705..820ca5f 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 069
 #
 # Test out writes with O_APPEND flag sets.
070 +1 -1
index aeea518..5dca476 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 070
 #
 # fsstress incarnation testing extended attributes writes
071 +1 -1
index 303498e..be9b11b 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 071
 #
 # Exercise IO at large file offsets.
072 +1 -1
index 96b783d..981c408 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 072
 #
 # Check some unwritten extent boundary conditions
073 +1 -1
index 756c1c8..90fa1f0 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 073
 #
 # Test xfs_copy
074 +1 -1
index 9ce4563..b9fb9d5 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 074
 #
 # fstest
075 +1 -1
index 49d006d..0f0a6ed 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 075
 #
 # fsx (non-AIO variant)
076 +1 -1
index 0b1a195..e472b26 100755
@@ -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
index 719c8c3..cdee8da 100755
@@ -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
index acef5c1..b8d9132 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 078
 #
 # Check several growfs corner cases
079 +1 -1
index b26cc0a..151835c 100755
@@ -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
index dc51c59..8ece84d 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 080
 #
 # rwtest (iogen|doio)
081 +1 -1
index c8eba80..96156c8 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 081
 #
 # To test out logprint with quotas
082 +1 -1
index ca19821..c413c10 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 082
 #
 # Test out the v2 stripe logs with logprint
083 +1 -1
index a61aa66..7342baa 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 083
 #
 # Exercise filesystem full behaviour - run numerous fsstress
084 +1 -1
index 212bbfa..622eb4f 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 084
 #
 # Exercises unwritten extent reads and writes, looking
085 +1 -1
index 7a62b0c..361aec1 100755
@@ -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
index 5a1270f..9c3f22d 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 086
 #
 # To test log replay with version 2 logs
087 +1 -1
index 14a9d4e..48e5eaa 100755
@@ -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
index 3ebda66..f6f0e26 100755
@@ -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
index 3fce2f8..e28e099 100755
@@ -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
index e71badb..0cdbe34 100755
@@ -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
index 0ee9c7a..6c4566f 100755
@@ -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
index 73384b9..429fa80 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 092
 #
 # Make sure that we can mount inode64 filesystems
093 +2 -2
index 3232476..5babfb3 100755
@@ -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
index 97f6be7..8e8b5e7 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 094
 #
 # Exercising the inheritable realtime inode bit.
095 +1 -1
index 6e2005a..b85b97f 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 095
 #
 # test out xfs_chver on IRIX
096 +1 -1
index 6011f34..237edad 100755
@@ -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
index a6c57b0..2597d53 100755
@@ -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
index dcdfb16..e59f5ac 100755
@@ -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
index 4827b89..90af18f 100755
@@ -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
index 7c22f87..f3504ce 100755
@@ -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
index ca385d1..e58f8b6 100755
@@ -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
index 048772c..dab9b5c 100755
@@ -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
index 8d3e226..8f7e45b 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 103
 #
 # Exercise the XFS nosymlinks inode flag
104 +1 -1
index 5f18d08..b35c43b 100755
@@ -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
index a98a03e..e3163fd 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 105
 #
 # Test fix of bug:
106 +1 -1
index 30f740b..5bff660 100755
@@ -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
index f36dc21..c270f0e 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 107
 #
 # Project quota.
108 +1 -1
index 3a1fee9..b429bc6 100755
@@ -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
index 1ec25ea..a9c174f 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 109
 #
 # ENOSPC deadlock case from Asano Masahiro.
110 +1 -1
index fa8ade9..cf5f663 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 110
 #
 # Incorrect dir2 freetab warning case from Masanori Tsuda.
111 +1 -1
index db86df6..719a0e0 100755
@@ -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
index d6c2952..557350a 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 112
 #
 # fsx (AIO variant, based on 075)
113 +1 -1
index f05275d..23676e0 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 113
 #
 # aio-stress
114 +1 -1
index 3596da8..8787937 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 114
 #
 # Test some parent ptr stuff
115 +1 -1
index b874cb8..8ef0e4c 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 115
 #
 # Test out xfs_repair_ipaths
116 +1 -1
index e902ce9..cc2bb0f 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 116
 #
 # pv#940491
117 +1 -1
index 04c628e..915520f 100755
@@ -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
index cb0e5ee..403655e 100755
@@ -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
index 516f992..1509ece 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 119
 #
 # Leaking reservation space in the GRH
120 +1 -1
index dd6e91a..bf1e617 100755
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 # FS QA Test No. 120
 #
 # Test noatime mount option.
121 +1 -1
index eb0158d..2137ebc 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 121
 #
 # To test log replay for the unlinked list.
122 +1 -1
index 9fbe437..4c11556 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 122
 #
 # pv#952498
123 +2 -2
index f76b62c..27c1e66 100755
@@ -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
index 5a44656..adae304 100755
@@ -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
index afc31d0..e84109a 100755
@@ -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
index 7bb10de..44db64c 100755
@@ -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
index 30f4fdb..8a61ffb 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 127
 #
 # fsx tests modified from CXFSQA tests
128 +2 -2
index c3f311d..7760b95 100755
@@ -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
index 66b4cb9..c9f11d6 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 129
 #
 # looptests created from CXFSQA test looptest
130 +1 -1
index 816f4bc..21582ea 100755
@@ -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
index de83fe2..9be0a14 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 131
 #
 # lock test created from CXFSQA test lockfile_simple
132 +1 -1
index 760315c..e90f56c 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 132
 #
 # xfs_io aligned vector rw created from CXFSQA test
133 +1 -1
index 26d16fe..9dbcb64 100755
@@ -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
index f00e1f0..0f97e18 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 134
 #
 # test to reproduce PV951636:
135 +1 -1
index a3a8ac9..915701f 100755
@@ -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
index d5d8a34..d394594 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 136
 #
 # Test the attr2 code
137 +1 -1
index 4db8127..42fb853 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 137
 #
 # Test for NULL files problem
138 +1 -1
index c9a2381..e7b5609 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 138
 #
 # Test for NULL files problem
139 +1 -1
index 3fb05cf..706a112 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 139
 #
 # Test for NULL files problem
140 +1 -1
index 84ee0f0..1f88302 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 140
 #
 # Test for NULL files problem
141 +1 -1
index 9ee27e4..cc501d6 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 141
 #
 # Test for xfs_io mmap read problem
142 +1 -1
index 0bc3ded..c09a968 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 142
 #
 # Dmapi get/set_dmattr
143 +1 -1
index c4763f5..7db6fea 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 143
 #
 # Dmapi get/set_eventlist
144 +1 -1
index cbbbc42..36b9263 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 144
 #
 # Dmapi get/set_fileattr, get_bulkattr, get_dirattrs
145 +1 -1
index 59ce6a2..3d6c158 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 145
 #
 # Dmapi probe/punch_hole
146 +1 -1
index 9e2eeae..477df83 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 146
 #
 # Dmapi read/write_invis
147 +1 -1
index c376567..b775478 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 147
 #
 # Dmapi get/set_region
148 +1 -1
index a2f0873..76cbf37 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 148
 #
 # Exercise xfs parallel repair on broken filesystems
149 +1 -1
index 0a1904a..5131a45 100755
@@ -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
index 96be389..a865875 100755
@@ -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
index 65fefbb..f10460d 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 151
 #
 # Create three DMAPI sessions,
152 +1 -1
index 53531ce..071be85 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 152
 #
 # Verify DMAPI functions
153 +1 -1
index 2f552f5..7c609d2 100755
@@ -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
index 8520833..2384d26 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 154
 #
 # Get DMAPI filesystem handle
155 +1 -1
index 78abb9a..de88ecb 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 155
 #
 # DMAPI event DM_EVENT_RENAME generation
156 +1 -1
index 5305ee6..0f3b229 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 156
 #
 # DMAPI get directory attributes (simple check
157 +1 -1
index 7e1af5b..11488c6 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 157
 #
 # get/set DMAPI attributes
158 +1 -1
index d116321..2b95ec6 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 158
 #
 # get/set file attributes
159 +1 -1
index 0d6889f..203afca 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 159
 #
 # Create DMAPI event and respond to it.
160 +1 -1
index c3b4251..095951b 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 160
 #
 # Change and view DMAPI access rights.
161 +1 -1
index 82d950c..8d0aed2 100755
@@ -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
index 072a8d4..409d3a1 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 162
 #
 # Placing holds on objects
163 +1 -1
index c5c4755..faf02e4 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 163
 #
 # File descriptor to handle conversion
164 +1 -1
index 01e56d3..03784c6 100755
@@ -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
index c5a321d..d47ad8e 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 165
 #
 # Test out prealloc, direct writes and buffered read
166 +1 -1
index e7b21aa..65c46da 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 166
 #
 # ->page-mkwrite test - unwritten extents and mmap
167 +1 -1
index 8ec174f..98b55e6 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 167
 #
 # unwritten extent conversion test
168 +1 -1
index 5d9d4eb..e044091 100755
@@ -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
index ac0ecad..627981e 100755
@@ -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
index 5785511..a807de0 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 #
 # FSQA Test No. 170
 #
171 +1 -1
index d7bfdeb..7e70466 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 171
 #
 # Check the filestreams allocator is doing its job.
172 +1 -1
index e0a2d8c..3220697 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 172
 #
 # Check the filestreams allocator is doing its job.
173 +1 -1
index f57226a..9156403 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 173
 #
 # Check the filestreams allocator is doing its job.
174 +1 -1
index 9f97289..4828854 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 174
 #
 # Check the filestreams allocator is doing its job.
175 +1 -1
index 480c4c1..523dce1 100755
@@ -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
index 2aec086..b988783 100755
@@ -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
index 94ea9c3..b6f4789 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 177
 #
 # Test to reproduce PV#: 964316
178 +1 -1
index a0a8a42..e4e104e 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 178
 #
 # Reproduce PV#:967665
179 +1 -1
index 5a801c9..5cec718 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 179
 #
 # Test for NULL files problem
180 +1 -1
index a11e947..6ba32fe 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 180
 #
 # Test for NULL files problem
181 +1 -1
index 44ed955..6db52ac 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 181
 #
 # Like 121 only creating large EAs
182 +1 -1
index 984e1e5..ae1f920 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 182
 #
 # Test for NULL files problem
183 +1 -1
index b302dcd..5558eb9 100755
@@ -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
index 170e63a..8544dc1 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 184
 #
 # check mknod makes working nodes.
185 +1 -1
index 264f157..74c4d3c 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FSQA Test No. 185
 #
 # Dmapi Punch/Probe Alignment compared to xfsctl(FREESPACE); 
186 +1 -1
index 524c9ee..94d399a 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 186
 #
 # Test out:
187 +1 -1
index cb5b9ca..6a489d0 100755
@@ -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
index d0656ac..ed93e65 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 188
 #
 # drive the src/nametest program for CI mode
189 +1 -1
index 85fe5a4..8f1c0e1 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 189
 #
 # Test remount behaviour
190 +1 -1
index 07464ee..096b871 100755
@@ -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
index 0152c7d..b1e66bf 100755
@@ -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
index 3550ae6..0d0b294 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 192
 #
 # Simple test of atime
193 +1 -1
index 9c676c6..9891256 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 193
 #
 # Test permission checks in ->setattr
194 +1 -1
index 38c7a58..931068d 100755
@@ -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
index b4aaeff..b910f72 100755
@@ -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
index 5da3659..6b9998f 100755
@@ -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
index 736ece8..0996630 100755
@@ -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
index 97ba737..e46ec8d 100755
@@ -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
index 918e849..2151cd2 100755
@@ -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
index 712fb38..dcf0f38 100755
@@ -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
index add69fe..99bcde8 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 201
 #
 # Test out the infamous xfs_btree_delrec corruption.
202 +1 -1
index e5e35e7..cbdcb57 100755
@@ -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
index 8a1c2d7..174bdae 100755
@@ -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
index 8c4e91e..1ac9ebf 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 204
 #
 # Test out ENOSPC flushing on small filesystems.
205 +1 -1
index c85e102..3f45185 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 205
 #
 # Test out ENOSPC flushing on small filesystems.
206 +1 -1
index 0935335..034bbf1 100755
@@ -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
index 8e29e90..32e6299 100755
@@ -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
index 9848f2f..e1fdaa1 100755
@@ -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
index 57cd429..06f10ae 100755
@@ -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
index 8db47b4..e093079 100755
@@ -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
index 57ab2b4..9428320 100755
@@ -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
index f3e62ac..627a431 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 212
 #
 # Run aio-io-setup-with-nonwritable-context-pointer -
213 +1 -1
index 7d66338..9982dd4 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 213
 #
 # Check some unwritten extent boundary conditions, fallocate version.
214 +1 -1
index a71680a..eb18825 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 214
 #
 # Basic unwritten extent sanity checks
215 +1 -1
index 691e552..c61f7a5 100644
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 215
 #
 # Test out c/mtime updates after mapped writes.
216 +1 -1
index f8ddb5d..7c046f5 100755
@@ -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
index 18ab53e..6032578 100755
@@ -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
index 8c8afe7..53d0b61 100755
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 218
 #
 # Basic defragmentation sanity tests
219 +1 -1
index 9d79d5c..08ecab6 100755
@@ -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
index 8d4987d..b913434 100644
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 220
 #
 # Test quota off handling.
221 +1 -1
index c7fa64d..6681237 100644
@@ -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
index c22dd9a..574c181 100644
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. 222
 #
 # xfs_fsr QA tests
bench +1 -1
index 2ed4942..f415423 100755
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Wrapper for automating benchmarking runs.
 # Usage:   bench passes user group [script]
check +1 -1
index 5768be6..560ac7b 100755
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 #
 # Control script for QA
 #
common +1 -1
index e3d7d41..c66cbad 100644
@@ -1,4 +1,4 @@
-##/bin/sh 
+##/bin/bash 
 #
 # Copyright (c) 2000-2005 Silicon Graphics, Inc.  All Rights Reserved.
 #
common.attr +1 -1
index 5f16273..a6b9b3b 100644
@@ -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
index 6693502..96ca700 100644
@@ -1,4 +1,4 @@
-##/bin/sh
+##/bin/bash
 #
 # Copyright (c) 2002-2004 Silicon Graphics, Inc.  All Rights Reserved.
 #
common.config +1 -1
index fecbabe..26906aa 100644
@@ -1,4 +1,4 @@
-##/bin/sh
+##/bin/bash
 #
 # Copyright (c) 2000-2003,2006 Silicon Graphics, Inc.  All Rights Reserved.
 #
common.dbench +1 -1
index 584ef07..026acdf 100755
@@ -1,4 +1,4 @@
-##/bin/sh
+##/bin/bash
 #
 # Copyright (c) 2002-2005 Silicon Graphics, Inc.  All Rights Reserved.
 #
common.defrag +1 -1
index a0716de..1bcf01d 100644
@@ -1,4 +1,4 @@
-##/bin/sh
+##/bin/bash
 #
 # Copyright (c) 2009 Eric Sandeen
 # All Rights Reserved.
common.dmapi +1 -1
index 3a3668d..c8a463a 100644
@@ -1,4 +1,4 @@
-##/bin/sh
+##/bin/bash
 #
 # Copyright (c) 2006 Silicon Graphics, Inc.  All Rights Reserved.
 #
common.dump +1 -1
index db9a92e..f330daf 100644
@@ -1,4 +1,4 @@
-#/bin/sh
+##/bin/bash
 #
 # Copyright (c) 2000-2002,2005 Silicon Graphics, Inc.  All Rights Reserved.
 #
common.filestreams +1 -1
index be8ec35..08eaf90 100644
@@ -1,4 +1,4 @@
-##/bin/sh
+##/bin/bash
 #
 # Copyright (c) 2007 Silicon Graphics, Inc.  All Rights Reserved.
 #
common.filter +1 -1
index 067fafa..a0034c6 100644
@@ -1,4 +1,4 @@
-##/bin/sh
+##/bin/bash
 #
 # Copyright (c) 2000-2001 Silicon Graphics, Inc.  All Rights Reserved.
 #
common.log +1 -1
index 56a2012..3958c48 100644
@@ -1,4 +1,4 @@
-##/bin/sh
+##/bin/bash
 #
 # Copyright (c) 2000-2002 Silicon Graphics, Inc.  All Rights Reserved.
 #
common.metaperf +1 -1
index f5384e5..9def379 100755
@@ -1,4 +1,4 @@
-##/bin/sh
+##/bin/bash
 #
 # Copyright (c) 2003-2005 Silicon Graphics, Inc.  All Rights Reserved.
 #
common.punch +1 -1
index 42f6703..b6576f6 100644
@@ -1,4 +1,4 @@
-##/bin/sh
+##/bin/bash
 #
 # Copyright (c) 2007 Silicon Graphics, Inc.  All Rights Reserved.
 #
common.quota +1 -1
index e2a7872..51bdc71 100644
@@ -1,4 +1,4 @@
-##/bin/sh
+##/bin/bash
 #
 # Copyright (c) 2000-2001,2005 Silicon Graphics, Inc.
 # All Rights Reserved.
common.rc +1 -1
index 761170d..6424871 100644
@@ -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
index 66e8b20..c598782 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Dave Chinner

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.

Seems fine,

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#2 lore raw
In reply to Dave Chinner
Quoted 6 lines · Dave Chinner

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.

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