mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 001
|
# FS QA Test No. 001
|
||||||
#
|
#
|
||||||
# Random file copier to produce chains of identical files so the head
|
# Random file copier to produce chains of identical files so the head
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 002
|
# FS QA Test No. 002
|
||||||
#
|
#
|
||||||
# simple inode link count test for a regular file
|
# simple inode link count test for a regular file
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 003
|
# FS QA Test No. 003
|
||||||
#
|
#
|
||||||
# exercise xfs_db bug #784078
|
# exercise xfs_db bug #784078
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 004
|
# FS QA Test No. 004
|
||||||
#
|
#
|
||||||
# exercise xfs_db bug #789674 and other freesp functionality
|
# exercise xfs_db bug #789674 and other freesp functionality
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 005
|
# FS QA Test No. 005
|
||||||
#
|
#
|
||||||
# Test symlinks & ELOOP
|
# Test symlinks & ELOOP
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 006
|
# FS QA Test No. 006
|
||||||
#
|
#
|
||||||
# permname
|
# permname
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 007
|
# FS QA Test No. 007
|
||||||
#
|
#
|
||||||
# drive the src/nametest program
|
# drive the src/nametest program
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 008
|
# FS QA Test No. 008
|
||||||
#
|
#
|
||||||
# randholes test
|
# randholes test
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 009
|
# FS QA Test No. 009
|
||||||
#
|
#
|
||||||
# XFS allocator test (preallocation - allocp, resvsp ,etc)
|
# XFS allocator test (preallocation - allocp, resvsp ,etc)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 010
|
# FS QA Test No. 010
|
||||||
#
|
#
|
||||||
# dbtest
|
# dbtest
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 011
|
# FS QA Test No. 011
|
||||||
#
|
#
|
||||||
# dirstress
|
# dirstress
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 012
|
# FS QA Test No. 012
|
||||||
#
|
#
|
||||||
# holes
|
# holes
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 013
|
# FS QA Test No. 013
|
||||||
#
|
#
|
||||||
# fsstress
|
# fsstress
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 014
|
# FS QA Test No. 014
|
||||||
#
|
#
|
||||||
# truncfile
|
# truncfile
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 015
|
# FS QA Test No. 015
|
||||||
#
|
#
|
||||||
# check out-of-space behaviour
|
# check out-of-space behaviour
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 016
|
# FS QA Test No. 016
|
||||||
#
|
#
|
||||||
# test end of log overwrite bug #796141
|
# test end of log overwrite bug #796141
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 017
|
# FS QA Test No. 017
|
||||||
#
|
#
|
||||||
# test remount ro - pv 795642
|
# test remount ro - pv 795642
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 018
|
# FS QA Test No. 018
|
||||||
#
|
#
|
||||||
# xfs_logprint test - test v2 logs of different LR sizes
|
# xfs_logprint test - test v2 logs of different LR sizes
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 019
|
# FS QA Test No. 019
|
||||||
#
|
#
|
||||||
# mkfs protofile test
|
# mkfs protofile test
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/sh
|
#! /bin/bash
|
||||||
# FS QA Test No. 020
|
# FS QA Test No. 020
|
||||||
#
|
#
|
||||||
# extended attributes
|
# extended attributes
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user