From: Dave Chinner Date: Tue, 19 Jan 2010 23:27:08 +0000 (+1100) Subject: xfstests: Convert all tests to use /bin/bash X-Git-Tag: v1.1.0~222 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=771e69de67b138654a1f63258cfe4c1bf1c156ee 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 Reviewed-by: Eric Sandeen --- diff --git a/001 b/001 index 4fe443df..8e3aabdc 100755 --- a/001 +++ b/001 @@ -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 diff --git a/002 b/002 index 237580ba..896fd1e6 100755 --- a/002 +++ b/002 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 002 # # simple inode link count test for a regular file diff --git a/003 b/003 index 6120cc5c..61afac50 100755 --- a/003 +++ b/003 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 003 # # exercise xfs_db bug #784078 diff --git a/004 b/004 index a88fc103..9f28e173 100755 --- a/004 +++ b/004 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 004 # # exercise xfs_db bug #789674 and other freesp functionality diff --git a/005 b/005 index a9e90864..205256cf 100755 --- a/005 +++ b/005 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 005 # # Test symlinks & ELOOP diff --git a/006 b/006 index 96f44260..e4d5e32d 100755 --- a/006 +++ b/006 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 006 # # permname diff --git a/007 b/007 index f22d09b1..50a84181 100755 --- a/007 +++ b/007 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 007 # # drive the src/nametest program diff --git a/008 b/008 index 519b1a9b..dfc938ae 100755 --- a/008 +++ b/008 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 008 # # randholes test diff --git a/009 b/009 index 37082c5c..d2a19d83 100755 --- a/009 +++ b/009 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 009 # # XFS allocator test (preallocation - allocp, resvsp ,etc) diff --git a/010 b/010 index 9ee889a4..78813a8b 100755 --- a/010 +++ b/010 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 010 # # dbtest diff --git a/011 b/011 index 79068501..2fcc9d39 100755 --- a/011 +++ b/011 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 011 # # dirstress diff --git a/012 b/012 index 123c7a3b..7d33f4c8 100755 --- a/012 +++ b/012 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 012 # # holes diff --git a/013 b/013 index 4c5612b1..58426ea7 100755 --- a/013 +++ b/013 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 013 # # fsstress diff --git a/014 b/014 index ce5b0f8b..a2be25a8 100755 --- a/014 +++ b/014 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 014 # # truncfile diff --git a/015 b/015 index 9189e2d3..8f2be7cd 100755 --- a/015 +++ b/015 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 015 # # check out-of-space behaviour diff --git a/016 b/016 index 3a55d3a3..980eb0b4 100755 --- a/016 +++ b/016 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 016 # # test end of log overwrite bug #796141 diff --git a/017 b/017 index e72ab525..9ca0e72e 100755 --- a/017 +++ b/017 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 017 # # test remount ro - pv 795642 diff --git a/018 b/018 index 8674ec55..85df3907 100755 --- a/018 +++ b/018 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 018 # # xfs_logprint test - test v2 logs of different LR sizes diff --git a/019 b/019 index 44d32598..42e3c228 100755 --- a/019 +++ b/019 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 019 # # mkfs protofile test diff --git a/020 b/020 index c843bf5d..0118e614 100755 --- a/020 +++ b/020 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 020 # # extended attributes diff --git a/021 b/021 index 11c86123..18284eb0 100755 --- a/021 +++ b/021 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 021 # # xfs_db type attr test (pv 797508 linux-xfs & IRIX) diff --git a/022 b/022 index 90b46fba..76d18e6c 100755 --- a/022 +++ b/022 @@ -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 diff --git a/023 b/023 index 8d77acb9..b9eeafe1 100755 --- a/023 +++ b/023 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 023 # # To test xfsdump/restore to tape using a directory with diff --git a/024 b/024 index ba3fec29..de5ab5fd 100755 --- a/024 +++ b/024 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 024 # # Test out incremental dumps diff --git a/025 b/025 index a0da452b..90d3389a 100755 --- a/025 +++ b/025 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 025 # # Test dump/restore using -m option (min strategy) diff --git a/026 b/026 index 25a6a7de..ef6aaa63 100755 --- a/026 +++ b/026 @@ -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) diff --git a/027 b/027 index 222599b6..9df06c33 100755 --- a/027 +++ b/027 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 027 # # Test out "xfsdump | xfsrestore" diff --git a/028 b/028 index 45dd7c6a..6628f662 100755 --- a/028 +++ b/028 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 028 # # To test out xfsinvutil diff --git a/029 b/029 index b9c5f118..e4fe7151 100755 --- a/029 +++ b/029 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 029 # # exercise mkfs log (internal/external) zeroing diff --git a/030 b/030 index f4517f53..74147d41 100755 --- a/030 +++ b/030 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 030 # # exercise xfs_repair repairing broken filesystems diff --git a/031 b/031 index d6383d80..b0622775 100755 --- a/031 +++ b/031 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 031 # # exercise xfs_repair - ensure repeated use doesn't corrupt diff --git a/032 b/032 index 5db89ad3..839b913b 100755 --- a/032 +++ b/032 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 032 # # cross check mkfs detection of foreign filesystems diff --git a/033 b/033 index 599af623..9651f26b 100755 --- a/033 +++ b/033 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 033 # # exercise xfs_repair repairing broken filesystems (root inodes) diff --git a/034 b/034 index 8af259cf..c09f63be 100755 --- a/034 +++ b/034 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 034 # # pv 801241 - check for reference leaks from the *handle xfsctls diff --git a/035 b/035 index 592605b3..34f5cac1 100755 --- a/035 +++ b/035 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 035 # # Test doing multiple dumps to tape and restoring the 2nd one diff --git a/036 b/036 index ac14e1af..4ed2ebcc 100755 --- a/036 +++ b/036 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 036 # # Test xfsdump/restore minrmt to a remote IRIX tape diff --git a/037 b/037 index 736385de..fd1e1af1 100755 --- a/037 +++ b/037 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 037 # # Test xfsdump/restore minrmt to a remote linux tape diff --git a/038 b/038 index 5796d934..f2af2142 100755 --- a/038 +++ b/038 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 038 # # Test xfsdump/restore to a remote linux tape diff --git a/039 b/039 index b4dda5e7..016d2bc4 100755 --- a/039 +++ b/039 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 039 # # Test xfsdump/restore to a remote IRIX tape diff --git a/040 b/040 index 4481aeb5..ea24ff54 100755 --- a/040 +++ b/040 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 040 # # srcdiff test diff --git a/041 b/041 index a49937ce..28008110 100755 --- a/041 +++ b/041 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 041 # # growfs QA tests - repeatedly fill/grow the filesystem diff --git a/042 b/042 index ca6b365c..7ac54921 100755 --- a/042 +++ b/042 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 042 # # xfs_fsr QA tests diff --git a/043 b/043 index cc8104e0..189dc5bb 100755 --- a/043 +++ b/043 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 043 # # Test out xfsdump/restore but rmv inventory prior to restore. diff --git a/044 b/044 index 80631ba4..60a6e58d 100755 --- a/044 +++ b/044 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 044 # # external log uuid/format tests (TODO - version 2 log format) diff --git a/045 b/045 index 736a7770..db403331 100755 --- a/045 +++ b/045 @@ -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 diff --git a/046 b/046 index 4c4c39f5..783459c1 100755 --- a/046 +++ b/046 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 046 # # check on symlinks permissions diff --git a/047 b/047 index 72ed2d5e..f5f6a521 100755 --- a/047 +++ b/047 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 047 # # invutil with interactive responses diff --git a/048 b/048 index 4d74b564..9d360d6b 100755 --- a/048 +++ b/048 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 048 # # test return codes from xfsctl on bad userspace address diff --git a/049 b/049 index a0559c30..3d3f030b 100755 --- a/049 +++ b/049 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 049 # # XFS on loop test diff --git a/050 b/050 index 785c1085..cf70b5ac 100755 --- a/050 +++ b/050 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 050 # # Exercises basic XFS quota functionality diff --git a/051 b/051 index bf951c2c..238abe97 100755 --- a/051 +++ b/051 @@ -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 <file1 -#!/bin/sh +#!/bin/bash echo "Test was executed" EOF chmod u=rwx file1 diff --git a/052 b/052 index 3d8bb9e1..2d8b73d8 100755 --- a/052 +++ b/052 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 052 # # Ensure that quota(1) displays blocksizes matching ondisk dquots. diff --git a/053 b/053 index f28db3f9..98644a78 100755 --- a/053 +++ b/053 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 053 # # xfs_repair breaks acls diff --git a/054 b/054 index b38efab1..e5e500cd 100755 --- a/054 +++ b/054 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 054 # # Check behavior of chown with both user and group quota enabled, diff --git a/055 b/055 index 330d9338..309b9c31 100755 --- a/055 +++ b/055 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 055 # # Test xfsdump/restore to a remote IRIX tape using RMT user diff --git a/056 b/056 index 1578408a..a19b85ac 100755 --- a/056 +++ b/056 @@ -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) diff --git a/057 b/057 index 5d427b08..f3219a3b 100755 --- a/057 +++ b/057 @@ -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 diff --git a/058 b/058 index c1290c8b..43b2293c 100755 --- a/058 +++ b/058 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 058 # # Place holder test 068. Test some ACL API functions. diff --git a/059 b/059 index 52033ccb..6348f0e1 100755 --- a/059 +++ b/059 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 059 # # place holder for IRIX 059 test for xfsdump/xfsrestore multi streams diff --git a/060 b/060 index 3f6e3491..6e58e5b4 100755 --- a/060 +++ b/060 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 060 # # place holder for IRIX 060 test for xfsdump/xfsrestore multi streams diff --git a/061 b/061 index 8c125d12..414675fa 100755 --- a/061 +++ b/061 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 061 # # Test restoring a dump created in IRIX/XFS diff --git a/062 b/062 index b4144b93..76ad5130 100755 --- a/062 +++ b/062 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 062 # # Exercises the getfattr/setfattr tools diff --git a/063 b/063 index 3bc4fd71..d2b8a9fc 100755 --- a/063 +++ b/063 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 063 # # xfsdump/xfsrestore with EAs diff --git a/064 b/064 index be7b22d7..16960c9e 100755 --- a/064 +++ b/064 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 064 # # test multilevel dump and restores with hardlinks diff --git a/065 b/065 index 54419ae6..f21a87fc 100755 --- a/065 +++ b/065 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 065 # # Testing incremental dumps and cumulative restores with diff --git a/066 b/066 index 1d637d18..a6e76c11 100755 --- a/066 +++ b/066 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 066 # # Test dumping of large files diff --git a/067 b/067 index 2ac78785..5ab743e3 100755 --- a/067 +++ b/067 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 067 # # Test out acl/dacls which fit in shortform in the inode diff --git a/068 b/068 index 82c1a4e1..5d0053d4 100755 --- a/068 +++ b/068 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 068 # # Test case to reproduce xfs_freeze hang under filsystem load. diff --git a/069 b/069 index cf557055..820ca5f1 100755 --- a/069 +++ b/069 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 069 # # Test out writes with O_APPEND flag sets. diff --git a/070 b/070 index aeea5189..5dca4767 100755 --- a/070 +++ b/070 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 070 # # fsstress incarnation testing extended attributes writes diff --git a/071 b/071 index 303498ed..be9b11bd 100755 --- a/071 +++ b/071 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 071 # # Exercise IO at large file offsets. diff --git a/072 b/072 index 96b783d2..981c4087 100755 --- a/072 +++ b/072 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 072 # # Check some unwritten extent boundary conditions diff --git a/073 b/073 index 756c1c84..90fa1f0a 100755 --- a/073 +++ b/073 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 073 # # Test xfs_copy diff --git a/074 b/074 index 9ce45635..b9fb9d54 100755 --- a/074 +++ b/074 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 074 # # fstest diff --git a/075 b/075 index 49d006d1..0f0a6ed2 100755 --- a/075 +++ b/075 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 075 # # fsx (non-AIO variant) diff --git a/076 b/076 index 0b1a195b..e472b269 100755 --- a/076 +++ b/076 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 076 # # Test blockdev reads in parallel with filesystem reads/writes diff --git a/077 b/077 index 719c8c3b..cdee8da0 100755 --- a/077 +++ b/077 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 077 # # Check use of ACLs (extended attributes) on a full filesystem diff --git a/078 b/078 index acef5c14..b8d9132e 100755 --- a/078 +++ b/078 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 078 # # Check several growfs corner cases diff --git a/079 b/079 index b26cc0a9..151835c8 100755 --- a/079 +++ b/079 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 079 # # Run the t_immutable test program for immutable/append-only files. diff --git a/080 b/080 index dc51c59d..8ece84db 100755 --- a/080 +++ b/080 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 080 # # rwtest (iogen|doio) diff --git a/081 b/081 index c8eba80b..96156c85 100755 --- a/081 +++ b/081 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 081 # # To test out logprint with quotas diff --git a/082 b/082 index ca198210..c413c108 100755 --- a/082 +++ b/082 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 082 # # Test out the v2 stripe logs with logprint diff --git a/083 b/083 index a61aa660..7342baa7 100755 --- a/083 +++ b/083 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 083 # # Exercise filesystem full behaviour - run numerous fsstress diff --git a/084 b/084 index 212bbfaa..622eb4f0 100755 --- a/084 +++ b/084 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 084 # # Exercises unwritten extent reads and writes, looking diff --git a/085 b/085 index 7a62b0c2..361aec16 100755 --- a/085 +++ b/085 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 085 # # To test log replay by shutdown of file system diff --git a/086 b/086 index 5a1270f9..9c3f22db 100755 --- a/086 +++ b/086 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 086 # # To test log replay with version 2 logs diff --git a/087 b/087 index 14a9d4e1..48e5eaa7 100755 --- a/087 +++ b/087 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 087 # # * like 086 but want to create more/different kinds of metadata diff --git a/088 b/088 index 3ebda66e..f6f0e265 100755 --- a/088 +++ b/088 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 088 # # test out CAP_DAC_OVERRIDE and CAP_DAC_SEARCH code in diff --git a/089 b/089 index 3fce2f83..e28e0999 100755 --- a/089 +++ b/089 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 089 # # Emulate the way Linux mount manipulates /etc/mtab to attempt to diff --git a/090 b/090 index e71badb8..0cdbe341 100755 --- a/090 +++ b/090 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 090 # # Exercise IO on the realtime device (direct, buffered, mmapd) diff --git a/091 b/091 index 0ee9c7a9..6c4566fc 100755 --- a/091 +++ b/091 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 091 # # fsx exercising direct IO -- sub-block sizes and concurrent buffered IO diff --git a/092 b/092 index 73384b91..429fa805 100755 --- a/092 +++ b/092 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 092 # # Make sure that we can mount inode64 filesystems diff --git a/093 b/093 index 32324764..5babfb34 100755 --- a/093 +++ b/093 @@ -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 <>$file EOF chmod ugo+x $tmp.append diff --git a/094 b/094 index 97f6be76..8e8b5e7a 100755 --- a/094 +++ b/094 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 094 # # Exercising the inheritable realtime inode bit. diff --git a/095 b/095 index 6e2005a7..b85b97fb 100755 --- a/095 +++ b/095 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 095 # # test out xfs_chver on IRIX diff --git a/096 b/096 index 6011f349..237edada 100755 --- a/096 +++ b/096 @@ -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 diff --git a/097 b/097 index a6c57b05..2597d532 100755 --- a/097 +++ b/097 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 097. Modifed from UDFQA test 033. # # simple attr tests for EAs: diff --git a/098 b/098 index dcdfb165..e59f5ac4 100755 --- a/098 +++ b/098 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 098. Modified from UDFQA test 035 # # simple attr tests for EAs: diff --git a/099 b/099 index 4827b897..90af18fa 100755 --- a/099 +++ b/099 @@ -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 <file1 -#!/bin/sh +#!/bin/bash echo "Test was executed" EOF chmod u=rwx file1 diff --git a/100 b/100 index 7c22f875..f3504ced 100755 --- a/100 +++ b/100 @@ -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 diff --git a/101 b/101 index ca385d1f..e58f8b62 100755 --- a/101 +++ b/101 @@ -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. diff --git a/102 b/102 index 048772c0..dab9b5cf 100755 --- a/102 +++ b/102 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 102 # # This tests mkfs_udf/mkudffs and the device detection code diff --git a/103 b/103 index 8d3e2267..8f7e45b6 100755 --- a/103 +++ b/103 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 103 # # Exercise the XFS nosymlinks inode flag diff --git a/104 b/104 index 6dea1d32..c50d3fc0 100755 --- a/104 +++ b/104 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 104 # # XFS online growfs-while-allocating tests (data subvol variant) diff --git a/105 b/105 index a98a03e3..e3163fd9 100755 --- a/105 +++ b/105 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 105 # # Test fix of bug: diff --git a/106 b/106 index 30f740bf..5bff6606 100755 --- a/106 +++ b/106 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 106 # # Exercise basic xfs_quota functionality (user/group/project quota) diff --git a/107 b/107 index f36dc214..c270f0e7 100755 --- a/107 +++ b/107 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 107 # # Project quota. diff --git a/108 b/108 index 3a1fee94..b429bc68 100755 --- a/108 +++ b/108 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 108 # # Simple quota accounting test for direct/buffered/mmap IO. diff --git a/109 b/109 index 1ec25eab..a9c174fa 100755 --- a/109 +++ b/109 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 109 # # ENOSPC deadlock case from Asano Masahiro. diff --git a/110 b/110 index fa8ade9d..cf5f6631 100755 --- a/110 +++ b/110 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 110 # # Incorrect dir2 freetab warning case from Masanori Tsuda. diff --git a/111 b/111 index db86df63..719a0e03 100755 --- a/111 +++ b/111 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 111 # # Infinite xfs_bulkstat bad-inode loop case from Roger Willcocks. diff --git a/112 b/112 index d6c29526..557350ac 100755 --- a/112 +++ b/112 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 112 # # fsx (AIO variant, based on 075) diff --git a/113 b/113 index f05275df..23676e02 100755 --- a/113 +++ b/113 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 113 # # aio-stress diff --git a/114 b/114 index 3596da8b..8787937b 100755 --- a/114 +++ b/114 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 114 # # Test some parent ptr stuff diff --git a/115 b/115 index b874cb8f..8ef0e4cc 100755 --- a/115 +++ b/115 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 115 # # Test out xfs_repair_ipaths diff --git a/116 b/116 index e902ce90..cc2bb0f3 100755 --- a/116 +++ b/116 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 116 # # pv#940491 diff --git a/117 b/117 index 04c628ea..915520fa 100755 --- a/117 +++ b/117 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 117 # # Attempt to cause filesystem corruption with serial fsstresses doing diff --git a/118 b/118 index cb0e5ee6..403655ee 100755 --- a/118 +++ b/118 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 118 # # To test out pv#940675 crash in xfs_trans_brelse + quotas diff --git a/119 b/119 index 516f992f..1509eceb 100755 --- a/119 +++ b/119 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 119 # # Leaking reservation space in the GRH diff --git a/120 b/120 index dd6e91a5..bf1e6170 100755 --- a/120 +++ b/120 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # FS QA Test No. 120 # # Test noatime mount option. diff --git a/121 b/121 index eb0158d4..2137ebc7 100755 --- a/121 +++ b/121 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 121 # # To test log replay for the unlinked list. diff --git a/122 b/122 index 9fbe437f..4c115561 100755 --- a/122 +++ b/122 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 122 # # pv#952498 diff --git a/123 b/123 index f76b62cf..27c1e660 100755 --- a/123 +++ b/123 @@ -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 diff --git a/124 b/124 index 5a44656e..adae3046 100755 --- a/124 +++ b/124 @@ -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 diff --git a/125 b/125 index afc31d0f..e84109a4 100755 --- a/125 +++ b/125 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 125 # # ftruncate test, modified from CXFSQA tests cxfs_ftrunc and cxfs_trunc diff --git a/126 b/126 index 7bb10de4..44db64c6 100755 --- a/126 +++ b/126 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 126 # # tests various file permission options modified from CXFSQA test fs_perms diff --git a/127 b/127 index 30f4fdb5..8a61ffb6 100755 --- a/127 +++ b/127 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 127 # # fsx tests modified from CXFSQA tests diff --git a/128 b/128 index c3f311de..7760b951 100755 --- a/128 +++ b/128 @@ -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 diff --git a/129 b/129 index 66b4cb9d..c9f11d64 100755 --- a/129 +++ b/129 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 129 # # looptests created from CXFSQA test looptest diff --git a/130 b/130 index 816f4bc7..21582ea4 100755 --- a/130 +++ b/130 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 130 # # xfs_io vector read/write and trunc tests. modified from cxfsqa tests diff --git a/131 b/131 index de83fe28..9be0a14c 100755 --- a/131 +++ b/131 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 131 # # lock test created from CXFSQA test lockfile_simple diff --git a/132 b/132 index 760315c1..e90f56c2 100755 --- a/132 +++ b/132 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 132 # # xfs_io aligned vector rw created from CXFSQA test diff --git a/133 b/133 index 26d16fe0..9dbcb646 100755 --- a/133 +++ b/133 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 133 # # Concurrent I/O to same file to ensure no deadlocks diff --git a/134 b/134 index f00e1f0a..0f97e18c 100755 --- a/134 +++ b/134 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 134 # # test to reproduce PV951636: diff --git a/135 b/135 index a3a8ac9a..915701fd 100755 --- a/135 +++ b/135 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 135 # # Concurrent I/O to same file to ensure no deadlocks diff --git a/136 b/136 index d5d8a344..d3945946 100755 --- a/136 +++ b/136 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 136 # # Test the attr2 code diff --git a/137 b/137 index 4db81275..42fb853b 100755 --- a/137 +++ b/137 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 137 # # Test for NULL files problem diff --git a/138 b/138 index c9a23818..e7b56092 100755 --- a/138 +++ b/138 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 138 # # Test for NULL files problem diff --git a/139 b/139 index 3fb05cf3..706a112b 100755 --- a/139 +++ b/139 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 139 # # Test for NULL files problem diff --git a/140 b/140 index 84ee0f02..1f88302e 100755 --- a/140 +++ b/140 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 140 # # Test for NULL files problem diff --git a/141 b/141 index 9ee27e4b..cc501d6c 100755 --- a/141 +++ b/141 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 141 # # Test for xfs_io mmap read problem diff --git a/142 b/142 index 0bc3ded3..c09a9682 100755 --- a/142 +++ b/142 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 142 # # Dmapi get/set_dmattr diff --git a/143 b/143 index c4763f59..7db6fea4 100755 --- a/143 +++ b/143 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 143 # # Dmapi get/set_eventlist diff --git a/144 b/144 index cbbbc425..36b9263e 100755 --- a/144 +++ b/144 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 144 # # Dmapi get/set_fileattr, get_bulkattr, get_dirattrs diff --git a/145 b/145 index 59ce6a22..3d6c1583 100755 --- a/145 +++ b/145 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 145 # # Dmapi probe/punch_hole diff --git a/146 b/146 index 9e2eeae6..477df83e 100755 --- a/146 +++ b/146 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 146 # # Dmapi read/write_invis diff --git a/147 b/147 index c376567d..b7754786 100755 --- a/147 +++ b/147 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 147 # # Dmapi get/set_region diff --git a/148 b/148 index a2f08735..76cbf375 100755 --- a/148 +++ b/148 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 148 # # Exercise xfs parallel repair on broken filesystems diff --git a/149 b/149 index 0a1904a3..5131a45f 100755 --- a/149 +++ b/149 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 149 # # Exercise xfs_prepair - ensure repeated use doesn't corrupt diff --git a/150 b/150 index 96be3896..a8658755 100755 --- a/150 +++ b/150 @@ -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. diff --git a/151 b/151 index 65fefbb7..f10460d9 100755 --- a/151 +++ b/151 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 151 # # Create three DMAPI sessions, diff --git a/152 b/152 index 53531ce5..071be85f 100755 --- a/152 +++ b/152 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 152 # # Verify DMAPI functions diff --git a/153 b/153 index 2f552f5f..7c609d25 100755 --- a/153 +++ b/153 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 153 # # Associate filesystem with a session by setting DMAPI DM_EVENT_RENAME diff --git a/154 b/154 index 8520833b..2384d262 100755 --- a/154 +++ b/154 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 154 # # Get DMAPI filesystem handle diff --git a/155 b/155 index 78abb9a5..de88ecb1 100755 --- a/155 +++ b/155 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 155 # # DMAPI event DM_EVENT_RENAME generation diff --git a/156 b/156 index 5305ee6b..0f3b229b 100755 --- a/156 +++ b/156 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 156 # # DMAPI get directory attributes (simple check diff --git a/157 b/157 index 7e1af5bc..11488c68 100755 --- a/157 +++ b/157 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 157 # # get/set DMAPI attributes diff --git a/158 b/158 index d116321a..2b95ec64 100755 --- a/158 +++ b/158 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 158 # # get/set file attributes diff --git a/159 b/159 index 0d6889f3..203afca0 100755 --- a/159 +++ b/159 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 159 # # Create DMAPI event and respond to it. diff --git a/160 b/160 index c3b4251b..095951b5 100755 --- a/160 +++ b/160 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 160 # # Change and view DMAPI access rights. diff --git a/161 b/161 index 82d950c4..8d0aed2a 100755 --- a/161 +++ b/161 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 161 # # DMAPI function punch hole. Create 3Mb file and punch a hole from diff --git a/162 b/162 index 072a8d49..409d3a19 100755 --- a/162 +++ b/162 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 162 # # Placing holds on objects diff --git a/163 b/163 index c5c47559..faf02e41 100755 --- a/163 +++ b/163 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 163 # # File descriptor to handle conversion diff --git a/164 b/164 index 01e56d37..03784c64 100755 --- a/164 +++ b/164 @@ -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 diff --git a/165 b/165 index c5a321da..d47ad8e2 100755 --- a/165 +++ b/165 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 165 # # Test out prealloc, direct writes and buffered read diff --git a/166 b/166 index e7b21aa2..65c46da4 100755 --- a/166 +++ b/166 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 166 # # ->page-mkwrite test - unwritten extents and mmap diff --git a/167 b/167 index 8ec174fa..98b55e67 100755 --- a/167 +++ b/167 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 167 # # unwritten extent conversion test diff --git a/168 b/168 index 5d9d4ebb..e044091a 100755 --- a/168 +++ b/168 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 168 # # Check for DMAPI destroy events when removing files without attributes diff --git a/169 b/169 index ac0ecadd..627981eb 100755 --- a/169 +++ b/169 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 169 # # Test for file size consistency with append followed by umount/mount diff --git a/170 b/170 index 5785511e..a807de03 100755 --- a/170 +++ b/170 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # # FSQA Test No. 170 # diff --git a/171 b/171 index d7bfdeb8..7e70466b 100755 --- a/171 +++ b/171 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 171 # # Check the filestreams allocator is doing its job. diff --git a/172 b/172 index e0a2d8cb..32206977 100755 --- a/172 +++ b/172 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 172 # # Check the filestreams allocator is doing its job. diff --git a/173 b/173 index f57226ac..9156403f 100755 --- a/173 +++ b/173 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 173 # # Check the filestreams allocator is doing its job. diff --git a/174 b/174 index 9f972897..4828854f 100755 --- a/174 +++ b/174 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 174 # # Check the filestreams allocator is doing its job. diff --git a/175 b/175 index 480c4c14..523dce11 100755 --- a/175 +++ b/175 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 175 # # Hole punching with extsize hints, holes may not reported by xfs_bmap. diff --git a/176 b/176 index 2aec086a..b9887834 100755 --- a/176 +++ b/176 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 176 # # Check if resvsp on file create effects bmap output after hole punch. diff --git a/177 b/177 index 94ea9c39..b6f47899 100755 --- a/177 +++ b/177 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 177 # # Test to reproduce PV#: 964316 diff --git a/178 b/178 index a0a8a428..e4e104e8 100755 --- a/178 +++ b/178 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 178 # # Reproduce PV#:967665 diff --git a/179 b/179 index 5a801c98..5cec718d 100755 --- a/179 +++ b/179 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 179 # # Test for NULL files problem diff --git a/180 b/180 index a11e9473..6ba32fe4 100755 --- a/180 +++ b/180 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 180 # # Test for NULL files problem diff --git a/181 b/181 index 44ed9556..6db52ac5 100755 --- a/181 +++ b/181 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 181 # # Like 121 only creating large EAs diff --git a/182 b/182 index 984e1e58..ae1f9207 100755 --- a/182 +++ b/182 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 182 # # Test for NULL files problem diff --git a/183 b/183 index b302dcdc..5558eb97 100755 --- a/183 +++ b/183 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 183 # # Test to check bulkstat returns unlinked-but-referenced inodes diff --git a/184 b/184 index 170e63ae..8544dc1d 100755 --- a/184 +++ b/184 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 184 # # check mknod makes working nodes. diff --git a/185 b/185 index 264f157c..74c4d3c3 100755 --- a/185 +++ b/185 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FSQA Test No. 185 # # Dmapi Punch/Probe Alignment compared to xfsctl(FREESPACE); diff --git a/186 b/186 index 524c9ee2..94d399a3 100755 --- a/186 +++ b/186 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 186 # # Test out: diff --git a/187 b/187 index cb5b9ca1..6a489d06 100755 --- a/187 +++ b/187 @@ -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 diff --git a/188 b/188 index d0656ac8..ed93e654 100755 --- a/188 +++ b/188 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 188 # # drive the src/nametest program for CI mode diff --git a/189 b/189 index 85fe5a4a..8f1c0e15 100755 --- a/189 +++ b/189 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 189 # # Test remount behaviour diff --git a/190 b/190 index 07464eea..096b871d 100755 --- a/190 +++ b/190 @@ -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 diff --git a/191 b/191 index 0152c7da..b1e66bfb 100755 --- a/191 +++ b/191 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # FS QA Test No. 191 # # To call into the nfs4acl qa suite of Andreas Gruenbacher. diff --git a/192 b/192 index 3550ae62..0d0b2944 100755 --- a/192 +++ b/192 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 192 # # Simple test of atime diff --git a/193 b/193 index 9c676c69..98912562 100755 --- a/193 +++ b/193 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 193 # # Test permission checks in ->setattr diff --git a/194 b/194 index 38c7a580..931068d1 100755 --- a/194 +++ b/194 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 194 # # Test mapping around/over holes for sub-page blocks diff --git a/195 b/195 index b4aaeff9..b910f726 100755 --- a/195 +++ b/195 @@ -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 diff --git a/196 b/196 index 5da36596..6b9998f4 100755 --- a/196 +++ b/196 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 196 # # Make sure renames accross project boundaries are properly rejected diff --git a/197 b/197 index 736ece83..09966300 100755 --- a/197 +++ b/197 @@ -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 diff --git a/198 b/198 index 97ba737a..e46ec8d0 100755 --- a/198 +++ b/198 @@ -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 diff --git a/199 b/199 index 918e8499..2151cd2a 100755 --- a/199 +++ b/199 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 199 # # Check that the features2 location fixups work correctly. We check both diff --git a/200 b/200 index 712fb38f..dcf0f38b 100755 --- a/200 +++ b/200 @@ -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. diff --git a/201 b/201 index add69fe7..99bcde8c 100755 --- a/201 +++ b/201 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 201 # # Test out the infamous xfs_btree_delrec corruption. diff --git a/202 b/202 index e5e35e7e..cbdcb57a 100755 --- a/202 +++ b/202 @@ -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. diff --git a/203 b/203 index 8a1c2d77..174bdae7 100755 --- a/203 +++ b/203 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 203 # # Test out reallocation of the extent array in xfs_io. diff --git a/204 b/204 index 8c4e91e5..1ac9ebf7 100755 --- a/204 +++ b/204 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 204 # # Test out ENOSPC flushing on small filesystems. diff --git a/205 b/205 index c85e1024..3f45185c 100755 --- a/205 +++ b/205 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 205 # # Test out ENOSPC flushing on small filesystems. diff --git a/206 b/206 index 0935335f..034bbf1e 100755 --- a/206 +++ b/206 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 206 # # Test trim of last small AG for large filesystem resizes diff --git a/207 b/207 index 8e29e90e..32e62990 100755 --- a/207 +++ b/207 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 207 # # Run aio-dio-extend-stat - test race in dio aio completion diff --git a/208 b/208 index 9848f2fa..e1fdaa15 100755 --- a/208 +++ b/208 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 208 # # Run aio-dio-invalidate-failure - test race in read cache invalidation diff --git a/209 b/209 index 57cd4299..06f10ae2 100755 --- a/209 +++ b/209 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 209 # # Run aio-dio-invalidate-readahead - test sync DIO invalidation of readahead diff --git a/210 b/210 index 8db47b4a..e0930792 100755 --- a/210 +++ b/210 @@ -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 diff --git a/211 b/211 index 57ab2b44..94283205 100755 --- a/211 +++ b/211 @@ -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 diff --git a/212 b/212 index f3e62ac8..627a431f 100755 --- a/212 +++ b/212 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 212 # # Run aio-io-setup-with-nonwritable-context-pointer - diff --git a/213 b/213 index 7d663388..9982dd48 100755 --- a/213 +++ b/213 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 213 # # Check some unwritten extent boundary conditions, fallocate version. diff --git a/214 b/214 index a71680a6..eb18825c 100755 --- a/214 +++ b/214 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 214 # # Basic unwritten extent sanity checks diff --git a/215 b/215 index 691e5524..c61f7a5a 100644 --- a/215 +++ b/215 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 215 # # Test out c/mtime updates after mapped writes. diff --git a/216 b/216 index f8ddb5d5..7c046f5a 100755 --- a/216 +++ b/216 @@ -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 diff --git a/217 b/217 index 18ab53e9..60325789 100755 --- a/217 +++ b/217 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 217 # # large log size mkfs test - ensure the log size scaling works diff --git a/218 b/218 index 8c8afe70..53d0b619 100755 --- a/218 +++ b/218 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 218 # # Basic defragmentation sanity tests diff --git a/219 b/219 index e278c1cb..6b42a1ec 100755 --- a/219 +++ b/219 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 219 # # Simple quota accounting test for direct/buffered/mmap IO. diff --git a/220 b/220 index 8d4987d9..b913434c 100644 --- a/220 +++ b/220 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 220 # # Test quota off handling. diff --git a/221 b/221 index c7fa64d9..66812372 100644 --- a/221 +++ b/221 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 221 # # Check ctime updates when calling futimens without UTIME_OMIT for the diff --git a/222 b/222 index c22dd9af..574c1812 100644 --- a/222 +++ b/222 @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 222 # # xfs_fsr QA tests diff --git a/bench b/bench index 2ed49424..f415423c 100755 --- a/bench +++ b/bench @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Wrapper for automating benchmarking runs. # Usage: bench passes user group [script] diff --git a/check b/check index 5768be68..560ac7bf 100755 --- a/check +++ b/check @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Control script for QA # diff --git a/common b/common index e3d7d419..c66cbad4 100644 --- a/common +++ b/common @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved. # diff --git a/common.attr b/common.attr index 5f16273b..a6b9b3b5 100644 --- a/common.attr +++ b/common.attr @@ -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 diff --git a/common.bonnie b/common.bonnie index 6693502c..96ca700a 100644 --- a/common.bonnie +++ b/common.bonnie @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2002-2004 Silicon Graphics, Inc. All Rights Reserved. # diff --git a/common.config b/common.config index fecbabe1..26906aa2 100644 --- a/common.config +++ b/common.config @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2000-2003,2006 Silicon Graphics, Inc. All Rights Reserved. # diff --git a/common.dbench b/common.dbench index 584ef071..026acdf1 100755 --- a/common.dbench +++ b/common.dbench @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2002-2005 Silicon Graphics, Inc. All Rights Reserved. # diff --git a/common.defrag b/common.defrag index a0716de7..1bcf01d5 100644 --- a/common.defrag +++ b/common.defrag @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2009 Eric Sandeen # All Rights Reserved. diff --git a/common.dmapi b/common.dmapi index 3a3668d3..c8a463a2 100644 --- a/common.dmapi +++ b/common.dmapi @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2006 Silicon Graphics, Inc. All Rights Reserved. # diff --git a/common.dump b/common.dump index db9a92e6..f330dafb 100644 --- a/common.dump +++ b/common.dump @@ -1,4 +1,4 @@ -#/bin/sh +##/bin/bash # # Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. All Rights Reserved. # diff --git a/common.filestreams b/common.filestreams index be8ec352..08eaf901 100644 --- a/common.filestreams +++ b/common.filestreams @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. # diff --git a/common.filter b/common.filter index 067fafa9..a0034c61 100644 --- a/common.filter +++ b/common.filter @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. # diff --git a/common.log b/common.log index 56a20123..3958c48d 100644 --- a/common.log +++ b/common.log @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. # diff --git a/common.metaperf b/common.metaperf index f5384e58..9def3791 100755 --- a/common.metaperf +++ b/common.metaperf @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2003-2005 Silicon Graphics, Inc. All Rights Reserved. # diff --git a/common.punch b/common.punch index 42f67031..b6576f6d 100644 --- a/common.punch +++ b/common.punch @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved. # diff --git a/common.quota b/common.quota index e2a78724..51bdc71b 100644 --- a/common.quota +++ b/common.quota @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2000-2001,2005 Silicon Graphics, Inc. # All Rights Reserved. diff --git a/common.rc b/common.rc index 761170d5..64248710 100644 --- a/common.rc +++ b/common.rc @@ -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 diff --git a/common.repair b/common.repair index 66e8b204..c5987827 100644 --- a/common.repair +++ b/common.repair @@ -1,4 +1,4 @@ -##/bin/sh +##/bin/bash # # Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. #