Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
  • Loading branch information...
commit 771e69de67b138654a1f63258cfe4c1bf1c156ee 1 parent 387165a
Dave Chinner authored

Showing 240 changed files with 245 additions and 245 deletions. Show diff stats Hide diff stats

  1. 2  001
  2. 2  002
  3. 2  003
  4. 2  004
  5. 2  005
  6. 2  006
  7. 2  007
  8. 2  008
  9. 2  009
  10. 2  010
  11. 2  011
  12. 2  012
  13. 2  013
  14. 2  014
  15. 2  015
  16. 2  016
  17. 2  017
  18. 2  018
  19. 2  019
  20. 2  020
  21. 2  021
  22. 2  022
  23. 2  023
  24. 2  024
  25. 2  025
  26. 2  026
  27. 2  027
  28. 2  028
  29. 2  029
  30. 2  030
  31. 2  031
  32. 2  032
  33. 2  033
  34. 2  034
  35. 2  035
  36. 2  036
  37. 2  037
  38. 2  038
  39. 2  039
  40. 2  040
  41. 2  041
  42. 2  042
  43. 2  043
  44. 2  044
  45. 2  045
  46. 2  046
  47. 2  047
  48. 2  048
  49. 2  049
  50. 2  050
  51. 4  051
  52. 2  052
  53. 2  053
  54. 2  054
  55. 2  055
  56. 2  056
  57. 2  057
  58. 2  058
  59. 2  059
  60. 2  060
  61. 2  061
  62. 2  062
  63. 2  063
  64. 2  064
  65. 2  065
  66. 2  066
  67. 2  067
  68. 2  068
  69. 2  069
  70. 2  070
  71. 2  071
  72. 2  072
  73. 2  073
  74. 2  074
  75. 2  075
  76. 2  076
  77. 2  077
  78. 2  078
  79. 2  079
  80. 2  080
  81. 2  081
  82. 2  082
  83. 2  083
  84. 2  084
  85. 2  085
  86. 2  086
  87. 2  087
  88. 2  088
  89. 2  089
  90. 2  090
  91. 2  091
  92. 2  092
  93. 4  093
  94. 2  094
  95. 2  095
  96. 2  096
  97. 2  097
  98. 2  098
  99. 4  099
  100. 2  100
  101. 2  101
  102. 2  102
  103. 2  103
  104. 2  104
  105. 2  105
  106. 2  106
  107. 2  107
  108. 2  108
  109. 2  109
  110. 2  110
  111. 2  111
  112. 2  112
  113. 2  113
  114. 2  114
  115. 2  115
  116. 2  116
  117. 2  117
  118. 2  118
  119. 2  119
  120. 2  120
  121. 2  121
  122. 2  122
  123. 4  123
  124. 2  124
  125. 2  125
  126. 2  126
  127. 2  127
  128. 4  128
  129. 2  129
  130. 2  130
  131. 2  131
  132. 2  132
  133. 2  133
  134. 2  134
  135. 2  135
  136. 2  136
  137. 2  137
  138. 2  138
  139. 2  139
  140. 2  140
  141. 2  141
  142. 2  142
  143. 2  143
  144. 2  144
  145. 2  145
  146. 2  146
  147. 2  147
  148. 2  148
  149. 2  149
  150. 2  150
  151. 2  151
  152. 2  152
  153. 2  153
  154. 2  154
  155. 2  155
  156. 2  156
  157. 2  157
  158. 2  158
  159. 2  159
  160. 2  160
  161. 2  161
  162. 2  162
  163. 2  163
  164. 2  164
  165. 2  165
  166. 2  166
  167. 2  167
  168. 2  168
  169. 2  169
  170. 2  170
  171. 2  171
  172. 2  172
  173. 2  173
  174. 2  174
  175. 2  175
  176. 2  176
  177. 2  177
  178. 2  178
  179. 2  179
  180. 2  180
  181. 2  181
  182. 2  182
  183. 2  183
  184. 2  184
  185. 2  185
  186. 2  186
  187. 2  187
  188. 2  188
  189. 2  189
  190. 2  190
  191. 2  191
  192. 2  192
  193. 2  193
  194. 2  194
  195. 2  195
  196. 2  196
  197. 2  197
  198. 2  198
  199. 2  199
  200. 2  200
  201. 2  201
  202. 2  202
  203. 2  203
  204. 2  204
  205. 2  205
  206. 2  206
  207. 2  207
  208. 2  208
  209. 2  209
  210. 2  210
  211. 2  211
  212. 2  212
  213. 2  213
  214. 2  214
  215. 2  215
  216. 2  216
  217. 2  217
  218. 2  218
  219. 2  219
  220. 2  220
  221. 2  221
  222. 2  222
  223. 2  bench
  224. 2  check
  225. 2  common
  226. 2  common.attr
  227. 2  common.bonnie
  228. 2  common.config
  229. 2  common.dbench
  230. 2  common.defrag
  231. 2  common.dmapi
  232. 2  common.dump
  233. 2  common.filestreams
  234. 2  common.filter
  235. 2  common.log
  236. 2  common.metaperf
  237. 2  common.punch
  238. 2  common.quota
  239. 2  common.rc
  240. 2  common.repair
2  001
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 001
3 3
 #
4 4
 # Random file copier to produce chains of identical files so the head
2  002
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 002
3 3
 #
4 4
 # simple inode link count test for a regular file
2  003
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 003
3 3
 #
4 4
 # exercise xfs_db bug #784078
2  004
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 004
3 3
 #
4 4
 # exercise xfs_db bug #789674 and other freesp functionality
2  005
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 005
3 3
 #
4 4
 # Test symlinks & ELOOP
2  006
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 006
3 3
 #
4 4
 # permname
2  007
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 007
3 3
 #
4 4
 # drive the src/nametest program
2  008
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 008
3 3
 #
4 4
 # randholes test
2  009
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 009
3 3
 #
4 4
 # XFS allocator test (preallocation - allocp, resvsp ,etc)
2  010
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 010
3 3
 #
4 4
 # dbtest
2  011
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 011
3 3
 #
4 4
 # dirstress
2  012
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 012
3 3
 #
4 4
 # holes
2  013
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 013
3 3
 #
4 4
 # fsstress
2  014
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 014
3 3
 #
4 4
 # truncfile
2  015
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 015
3 3
 #
4 4
 # check out-of-space behaviour
2  016
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 016
3 3
 #
4 4
 # test end of log overwrite bug #796141
2  017
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 017
3 3
 #
4 4
 # test remount ro - pv 795642
2  018
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 018
3 3
 #
4 4
 # xfs_logprint test - test v2 logs of different LR sizes
2  019
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 019
3 3
 #
4 4
 # mkfs protofile test
2  020
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 020
3 3
 #
4 4
 # extended attributes
2  021
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 021
3 3
 #
4 4
 # xfs_db type attr test (pv 797508 linux-xfs & IRIX)
2  022
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 022
3 3
 #
4 4
 # Test out a level 0 dump/restore to a tape of a subdir
2  023
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 023
3 3
 #
4 4
 # To test xfsdump/restore to tape using a directory with
2  024
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 024
3 3
 #
4 4
 # Test out incremental dumps
2  025
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 025
3 3
 #
4 4
 # Test dump/restore using -m option (min strategy) 
2  026
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 026
3 3
 #
4 4
 # Test xfsdump/xfsrestore to a dump file (as opposed to a tape)
2  027
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 027
3 3
 #
4 4
 # Test out "xfsdump | xfsrestore"
2  028
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 028
3 3
 #
4 4
 # To test out xfsinvutil
2  029
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 029
3 3
 #
4 4
 # exercise mkfs log (internal/external) zeroing
2  030
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 030
3 3
 #
4 4
 # exercise xfs_repair repairing broken filesystems
2  031
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 031
3 3
 #
4 4
 # exercise xfs_repair - ensure repeated use doesn't corrupt
2  032
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 032
3 3
 #
4 4
 # cross check mkfs detection of foreign filesystems
2  033
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 033
3 3
 #
4 4
 # exercise xfs_repair repairing broken filesystems (root inodes)
2  034
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 034
3 3
 #
4 4
 # pv 801241 - check for reference leaks from the *handle xfsctls
2  035
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 035
3 3
 #
4 4
 # Test doing multiple dumps to tape and restoring the 2nd one
2  036
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 036
3 3
 #
4 4
 # Test xfsdump/restore minrmt to a remote IRIX tape 
2  037
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 037
3 3
 #
4 4
 # Test xfsdump/restore minrmt to a remote linux tape 
2  038
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 038
3 3
 #
4 4
 # Test xfsdump/restore to a remote linux tape 
2  039
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 039
3 3
 #
4 4
 # Test xfsdump/restore to a remote IRIX tape 
2  040
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 040
3 3
 #
4 4
 # srcdiff test
2  041
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 041
3 3
 #
4 4
 # growfs QA tests - repeatedly fill/grow the filesystem
2  042
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 042
3 3
 #
4 4
 # xfs_fsr QA tests
2  043
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 043
3 3
 #
4 4
 # Test out xfsdump/restore but rmv inventory prior to restore.
2  044
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 044
3 3
 #
4 4
 # external log uuid/format tests (TODO - version 2 log format)
2  045
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 045
3 3
 #
4 4
 # test mount of two FSes with identical UUID and mount with unknown option
2  046
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 046
3 3
 #
4 4
 # check on symlinks permissions
2  047
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 047
3 3
 #
4 4
 # invutil with interactive responses
2  048
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 048
3 3
 #
4 4
 # test return codes from xfsctl on bad userspace address
2  049
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 049
3 3
 #
4 4
 # XFS on loop test
2  050
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 050
3 3
 #
4 4
 # Exercises basic XFS quota functionality
4  051
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 051
3 3
 #
4 4
 # Test out ACLs.
@@ -100,7 +100,7 @@ echo "Setup file"
100 100
 #       in order to execute it.
101 101
 touch file1
102 102
 cat <<EOF >file1
103  
-#!/bin/sh
  103
+#!/bin/bash
104 104
 echo "Test was executed"
105 105
 EOF
106 106
 chmod u=rwx file1
2  052
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 052
3 3
 #
4 4
 # Ensure that quota(1) displays blocksizes matching ondisk dquots.
2  053
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 053
3 3
 #
4 4
 # xfs_repair breaks acls
2  054
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 054
3 3
 #
4 4
 # Check behavior of chown with both user and group quota enabled,
2  055
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 055
3 3
 #
4 4
 # Test xfsdump/restore to a remote IRIX tape using RMT user
2  056
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 056
3 3
 #
4 4
 # Test xfsdump/xfsrestore to a dump file (as opposed to a tape)
2  057
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 057
3 3
 #
4 4
 # Place holder for test 075. Test out the different acl_get semantics
2  058
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 058
3 3
 #
4 4
 # Place holder test 068. Test some ACL API functions.
2  059
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 059
3 3
 #
4 4
 # place holder for IRIX 059 test for xfsdump/xfsrestore multi streams
2  060
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 060
3 3
 #
4 4
 # place holder for IRIX 060 test for xfsdump/xfsrestore multi streams
2  061
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 061
3 3
 #
4 4
 # Test restoring a dump created in IRIX/XFS
2  062
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 062
3 3
 #
4 4
 # Exercises the getfattr/setfattr tools
2  063
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 063
3 3
 #
4 4
 # xfsdump/xfsrestore with EAs
2  064
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 064
3 3
 #
4 4
 # test multilevel dump and restores with hardlinks
2  065
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 065
3 3
 #
4 4
 # Testing incremental dumps and cumulative restores with
2  066
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 066
3 3
 #
4 4
 # Test dumping of large files
2  067
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 067
3 3
 #
4 4
 # Test out acl/dacls which fit in shortform in the inode
2  068
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 068
3 3
 #
4 4
 # Test case to reproduce xfs_freeze hang under filsystem load.
2  069
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 069
3 3
 #
4 4
 # Test out writes with O_APPEND flag sets.
2  070
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 070
3 3
 #
4 4
 # fsstress incarnation testing extended attributes writes
2  071
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 071
3 3
 #
4 4
 # Exercise IO at large file offsets.
2  072
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 072
3 3
 #
4 4
 # Check some unwritten extent boundary conditions
2  073
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 073
3 3
 #
4 4
 # Test xfs_copy
2  074
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 074
3 3
 #
4 4
 # fstest
2  075
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 075
3 3
 #
4 4
 # fsx (non-AIO variant)
2  076
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 076
3 3
 #
4 4
 # Test blockdev reads in parallel with filesystem reads/writes
2  077
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 077
3 3
 #
4 4
 # Check use of ACLs (extended attributes) on a full filesystem
2  078
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 078
3 3
 #
4 4
 # Check several growfs corner cases
2  079
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 079
3 3
 #
4 4
 # Run the t_immutable test program for immutable/append-only files.
2  080
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 080
3 3
 #
4 4
 # rwtest (iogen|doio)
2  081
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 081
3 3
 #
4 4
 # To test out logprint with quotas
2  082
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 082
3 3
 #
4 4
 # Test out the v2 stripe logs with logprint
2  083
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 083
3 3
 #
4 4
 # Exercise filesystem full behaviour - run numerous fsstress
2  084
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 084
3 3
 #
4 4
 # Exercises unwritten extent reads and writes, looking
2  085
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 085
3 3
 #
4 4
 # To test log replay by shutdown of file system
2  086
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 086
3 3
 #
4 4
 # To test log replay with version 2 logs
2  087
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 087
3 3
 #
4 4
 # * like 086 but want to create more/different kinds of metadata
2  088
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 088
3 3
 #
4 4
 # test out CAP_DAC_OVERRIDE and CAP_DAC_SEARCH code in 
2  089
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 089
3 3
 #
4 4
 # Emulate the way Linux mount manipulates /etc/mtab to attempt to
2  090
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 090
3 3
 #
4 4
 # Exercise IO on the realtime device (direct, buffered, mmapd)
2  091
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 091
3 3
 #
4 4
 # fsx exercising direct IO -- sub-block sizes and concurrent buffered IO
2  092
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 092
3 3
 #
4 4
 # Make sure that we can mount inode64 filesystems
4  093
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 093
3 3
 #
4 4
 # 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}'`
75 75
 uid=`grep $user /etc/passwd | $AWK_PROG -F: '{print $3}'`
76 76
 
77 77
 cat >$tmp.append <<EOF
78  
-#!/bin/sh
  78
+#!/bin/bash
79 79
 echo data >>$file
80 80
 EOF
81 81
 chmod ugo+x $tmp.append
2  094
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 094
3 3
 #
4 4
 # Exercising the inheritable realtime inode bit.
2  095
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 095
3 3
 #
4 4
 # test out xfs_chver on IRIX
2  096
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 096
3 3
 #
4 4
 # test out mkfs_xfs output on IRIX/Linux and some of its error handling
2  097
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 097. Modifed from UDFQA test 033.
3 3
 #
4 4
 # simple attr tests for EAs:
2  098
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 098. Modified from UDFQA test 035
3 3
 #
4 4
 # simple attr tests for EAs:
4  099
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 099. Modified from UDFQA test 036.
3 3
 #
4 4
 # ACL test
@@ -103,7 +103,7 @@ echo "Setup file"
103 103
 #       in order to execute it.
104 104
 touch file1
105 105
 cat <<EOF >file1
106  
-#!/bin/sh
  106
+#!/bin/bash
107 107
 echo "Test was executed"
108 108
 EOF
109 109
 chmod u=rwx file1
2  100
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 100. Modified from UDF QA test 030.
3 3
 #
4 4
 # Test whether a tarred directory structure can be untarred onto
2  101
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 101. Modified from UDFQA test 029. 
3 3
 #
4 4
 # This tests mkfs_udf with -s [SIZE] option. 
2  102
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 102
3 3
 #
4 4
 # This tests mkfs_udf/mkudffs and the device detection code
2  103
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 103
3 3
 #
4 4
 # Exercise the XFS nosymlinks inode flag
2  104
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 104
3 3
 #
4 4
 # XFS online growfs-while-allocating tests (data subvol variant)
2  105
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 105
3 3
 #
4 4
 # Test fix of bug:
2  106
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 106
3 3
 #
4 4
 # Exercise basic xfs_quota functionality (user/group/project quota)
2  107
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 107
3 3
 #
4 4
 # Project quota.
2  108
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 108
3 3
 #
4 4
 # Simple quota accounting test for direct/buffered/mmap IO.
2  109
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 109
3 3
 #
4 4
 # ENOSPC deadlock case from Asano Masahiro.
2  110
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 110
3 3
 #
4 4
 # Incorrect dir2 freetab warning case from Masanori Tsuda.
2  111
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 111
3 3
 #
4 4
 # Infinite xfs_bulkstat bad-inode loop case from Roger Willcocks.
2  112
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 112
3 3
 #
4 4
 # fsx (AIO variant, based on 075)
2  113
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 113
3 3
 #
4 4
 # aio-stress
2  114
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 114
3 3
 #
4 4
 # Test some parent ptr stuff
2  115
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 115
3 3
 #
4 4
 # Test out xfs_repair_ipaths
2  116
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 116
3 3
 #
4 4
 # pv#940491
2  117
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 117
3 3
 #
4 4
 # Attempt to cause filesystem corruption with serial fsstresses doing
2  118
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 118
3 3
 #
4 4
 # To test out pv#940675 crash in xfs_trans_brelse + quotas
2  119
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 119
3 3
 #
4 4
 # Leaking reservation space in the GRH
2  120
... ...
@@ -1,4 +1,4 @@
1  
-#!/bin/sh
  1
+#!/bin/bash
2 2
 # FS QA Test No. 120
3 3
 #
4 4
 # Test noatime mount option.
2  121
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 121
3 3
 #
4 4
 # To test log replay for the unlinked list.
2  122
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 122
3 3
 #
4 4
 # pv#952498
4  123
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 123
3 3
 #
4 4
 # Make sure user cannot overwrite, append, delete or move a file created by 
@@ -60,7 +60,7 @@ _user_do()
60 60
 {
61 61
     if [ "$HOSTOS" == "IRIX" ]
62 62
 	then
63  
-	echo $1 | /bin/sh "su $qa_user 2>&1" | _filter_user_do
  63
+	echo $1 | /bin/bash "su $qa_user 2>&1" | _filter_user_do
64 64
     else
65 65
 	echo $1 | su $qa_user 2>&1 | _filter_user_do
66 66
     fi
2  124
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 124
3 3
 #
4 4
 # Test preallocated_rw_pattern_test modified from CXFSQA test preallocated_rw_pattern_test
2  125
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 125
3 3
 #
4 4
 # ftruncate test, modified from CXFSQA tests cxfs_ftrunc and cxfs_trunc
2  126
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 126
3 3
 #
4 4
 # tests various file permission options modified from CXFSQA test fs_perms
2  127
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 127
3 3
 #
4 4
 # fsx tests modified from CXFSQA tests
4  128
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 128
3 3
 #
4 4
 # Test nosuid mount option modified from CXFSQA test mount_option_nosuid
@@ -58,7 +58,7 @@ cp `which ls` $SCRATCH_MNT
58 58
 chmod 700 $SCRATCH_MNT/nosuid
59 59
 chmod 4755 $SCRATCH_MNT/ls
60 60
 
61  
-su -s/bin/sh - $qa_user -c "$SCRATCH_MNT/ls $SCRATCH_MNT/nosuid >/dev/null 2>&1"
  61
+su -s/bin/bash - $qa_user -c "$SCRATCH_MNT/ls $SCRATCH_MNT/nosuid >/dev/null 2>&1"
62 62
 if [ $? -eq 0 ] ; then
63 63
 	echo "Error: we shouldn't be able to ls the directory"
64 64
 fi
2  129
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 129
3 3
 #
4 4
 # looptests created from CXFSQA test looptest
2  130
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 130
3 3
 #
4 4
 # xfs_io vector read/write and trunc tests. modified from cxfsqa tests
2  131
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 131
3 3
 #
4 4
 # lock test created from CXFSQA test lockfile_simple
2  132
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 132
3 3
 #
4 4
 # xfs_io aligned vector rw created from CXFSQA test
2  133
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 133
3 3
 #
4 4
 # Concurrent I/O to same file to ensure no deadlocks
2  134
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 134
3 3
 #
4 4
 # test to reproduce PV951636:
2  135
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FSQA Test No. 135
3 3
 #
4 4
 # Concurrent I/O to same file to ensure no deadlocks
2  136
... ...
@@ -1,4 +1,4 @@
1  
-#! /bin/sh
  1
+#! /bin/bash
2 2
 # FS QA Test No. 136
3 3
 #