A new test is using /bin/sh and failing on debian. Clean it up and all the
remaining uses of /bin/sh.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
26 files changed:
# FS QA Test No. 225
#
# Run the fiemap (file extent mapping) tester
# FS QA Test No. 225
#
# Run the fiemap (file extent mapping) tester
# FS QA Test No. 226
#
# Test for prealloc space leaks by rewriting the same file in a loop
# FS QA Test No. 226
#
# Test for prealloc space leaks by rewriting the same file in a loop
#
# Make whichever packages have been requested.
# Defaults to RPMs.
#
# Make whichever packages have been requested.
# Defaults to RPMs.
#ensure the filesystem has been dirtied since last repair
_scratch_mount
POSIXLY_CORRECT=yes \
#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
sync
rm -f $SCRATCH_MNT/sh
umount $SCRATCH_MNT
_check_scratch_fs
_scratch_mount #mount
POSIXLY_CORRECT=yes \
_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
POSIXLY_CORRECT=yes \
dd if=$SCRATCH_MNT/sh of=/dev/null 2>&1 |_filter_dd #read
rm -f $SCRATCH_MNT/sh #unlink
#
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2004 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2004 Silicon Graphics, Inc. All Rights Reserved.
#
#
#-----------------------------------------------------------------------
# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
#
#-----------------------------------------------------------------------
# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
year=`date +%Y`
cat <<End-of-File >$id
year=`date +%Y`
cat <<End-of-File >$id
# FS QA Test No. $id
#
# what am I here for?
# FS QA Test No. $id
#
# what am I here for?
#
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Produces a .tar file (if one doesn't exist as $TARFILE), then
# times how long it takes to untar it onto the current directory.
#
# Produces a .tar file (if one doesn't exist as $TARFILE), then
# times how long it takes to untar it onto the current directory.
#
# Copyright (c) 2003-2004 Silicon Graphics, Inc. All Rights Reserved.
#
#
# Copyright (c) 2003-2004 Silicon Graphics, Inc. All Rights Reserved.
#
#-----------------------------------------------------------------------
# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
#
#-----------------------------------------------------------------------
# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
#