2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2018 Oracle, Inc.
7 # checkbashisms on all /bin/sh scripts. This is a maintainer script.
10 _begin_fstest auto quick
12 # get standard environment
14 # real QA test starts here
16 _require_command "$CHECKBASHISMS_PROG" checkbashisms
18 test -z "$WORKAREA" && _notrun "Can't find xfsprogs source"
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