xfsqa: more sh to bash conversions
PATCH 1/1 xfsqa: more sh to bash conversions
From: Dave Chinner <[email protected]>
A new test is using /bin/sh and failing on debiaṅ. Clean it up and all the remaining uses of /bin/sh.
Signed-off-by Dave Chinner <[email protected]>
--- 225 | 2 +- 226 | 2 +- Makepkgs | 2 +- common.repair | 4 ++-- install-sh | 2 +- make_irix | 2 +- new | 4 ++-- remake | 2 +- run.bonnie_io | 2 +- run.bonnie_ops | 2 +- run.dbench | 2 +- run.dbench10 | 2 +- run.dbench100 | 2 +- run.dbench2 | 2 +- run.dbench20 | 2 +- run.dbench50 | 2 +- run.dbenchmulti | 2 +- run.io | 2 +- run.metaperf_10i_1000n | 2 +- run.metaperf_10i_1n | 2 +- run.metaperf_1i_1n | 2 +- run.pio | 2 +- run.rtio | 2 +- run.tar | 2 +- setup | 2 +- soak | 2 +- 26 files changed, 28 insertions(+), 28 deletions(-)
225 +1 -1
@@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 225 # # Run the fiemap (file extent mapping) tester
226 +1 -1
@@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # FS QA Test No. 226 # # Test for prealloc space leaks by rewriting the same file in a loop
Makepkgs +1 -1
@@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # # Make whichever packages have been requested. # Defaults to RPMs.
common.repair +2 -2
@@ -90,7 +90,7 @@ _check_repair() #ensure the filesystem has been dirtied since last repair _scratch_mount POSIXLY_CORRECT=yes \ - dd if=/bin/sh of=$SCRATCH_MNT/sh 2>&1 |_filter_dd + dd if=/bin/bash of=$SCRATCH_MNT/sh 2>&1 |_filter_dd sync rm -f $SCRATCH_MNT/sh umount $SCRATCH_MNT
@@ -102,7 +102,7 @@ _check_repair() _check_scratch_fs _scratch_mount #mount POSIXLY_CORRECT=yes \ - dd if=/bin/sh of=$SCRATCH_MNT/sh 2>&1 |_filter_dd #open,write + dd if=/bin/bash of=$SCRATCH_MNT/sh 2>&1 |_filter_dd #open,write POSIXLY_CORRECT=yes \ dd if=$SCRATCH_MNT/sh of=/dev/null 2>&1 |_filter_dd #read rm -f $SCRATCH_MNT/sh #unlink
install-sh +1 -1
@@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. #
make_irix +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2004 Silicon Graphics, Inc. All Rights Reserved. #
new +2 -2
@@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # #----------------------------------------------------------------------- # Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
@@ -93,7 +93,7 @@ echo -n "Creating skeletal script for you to edit ..." year=`date +%Y` cat <<End-of-File >$id -#! /bin/sh +#! /bin/bash # FS QA Test No. $id # # what am I here for?
remake +1 -1
@@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # # Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved. #
run.bonnie_io +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved. #
run.bonnie_ops +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved. #
run.dbench +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved. #
run.dbench10 +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved. #
run.dbench100 +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved. #
run.dbench2 +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved. #
run.dbench20 +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved. #
run.dbench50 +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved. #
run.dbenchmulti +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved. #
run.io +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. #
run.metaperf_10i_1000n +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved. #
run.metaperf_10i_1n +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved. #
run.metaperf_1i_1n +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved. #
run.pio +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. #
run.rtio +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved. #
run.tar +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Produces a .tar file (if one doesn't exist as $TARFILE), then # times how long it takes to untar it onto the current directory.
setup +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (c) 2003-2004 Silicon Graphics, Inc. All Rights Reserved. #
soak +1 -1
@@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash #----------------------------------------------------------------------- # Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved. #
Signature · 6 lines
1.5.6.5 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Quoted 4 lines · Dave Chinner
From: Dave Chinner <[email protected]>
A new test is using
/bin/shand failing on debia???. Clean it up and all the remaining uses of/bin/sh.
Looks good,
Reviewed-by Christoph Hellwig <[email protected]>
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs