2 # SPDX-License-Identifier: GPL-2.0
3 # description: Meta-selftest: Checkbashisms
5 if [ ! -f $FTRACETEST_ROOT/ftracetest
]; then
6 echo "Hmm, we can not find ftracetest"
10 if ! which checkbashisms
> /dev
/null
2>&1 ; then
11 echo "No checkbashisms found. skipped."
15 checkbashisms
$FTRACETEST_ROOT/ftracetest
16 checkbashisms
$FTRACETEST_ROOT/test.d
/functions
17 for t
in $
(find $FTRACETEST_ROOT/test.d
-name \
*.tc
); do