xfs/530: skip test if user MKFS_OPTIONS screw up formatting
[xfstests-dev.git] / tests / xfs / 446
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2018 Oracle, Inc.
4 #
5 # FS QA Test No. 446
6 #
7 # checkbashisms on all /bin/sh scripts.  This is a maintainer script.
8 #
9 . ./common/preamble
10 _begin_fstest auto quick
11
12 # get standard environment
13
14 # real QA test starts here
15 _supported_fs xfs
16 _require_command "$CHECKBASHISMS_PROG" checkbashisms
17
18 test -z "$WORKAREA" && _notrun "Can't find xfsprogs source"
19
20 echo "Silence is golden"
21 find $WORKAREA -type f -name 'xfs*.sh' -print0 | xargs -0 grep '^#!.*/bin/sh' | sed -e 's/:.*$//g' | while read f; do
22         $CHECKBASHISMS_PROG $f
23 done
24
25 status=0