mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfsqa: more sh to bash conversions
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>
This commit is contained in:
committed by
Dave Chinner
parent
a8fa6ee439
commit
fa6a7868cd
@@ -1,4 +1,4 @@
|
||||
#! /bin/sh
|
||||
#! /bin/bash
|
||||
# FS QA Test No. 225
|
||||
#
|
||||
# Run the fiemap (file extent mapping) tester
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#! /bin/sh
|
||||
#! /bin/bash
|
||||
#
|
||||
# Make whichever packages have been requested.
|
||||
# Defaults to RPMs.
|
||||
|
||||
+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
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#! /bin/sh
|
||||
#! /bin/bash
|
||||
#
|
||||
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2004 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
@@ -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?
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#! /bin/sh
|
||||
#! /bin/bash
|
||||
#
|
||||
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2002-2003 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2003 Silicon Graphics, Inc. All Rights Reserved.
|
||||
#
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user