Package: lustre-tests
Severity: normal
Version: 1.8.2-1
Usertags: goal-dash

Hello maintainer,

While performing an archive wide checkbashisms (from the 'devscripts' package)
check I've found your package containing a /bin/sh script making use
of a bashism.

checkbashisms' output:
> possible bashism in ./usr/lib/lustre/tests/ line 69
> (${parm/?/pat[/str]}):
>     local nc=$(echo ${clients//,/ } | wc -w)
> possible bashism in ./usr/lib/lustre/tests/ line 70
> (${parm/?/pat[/str]}):
>     local ns=$(echo ${servers//,/ } | wc -w)
> possible bashism in ./usr/lib/lustre/tests/ line 145
>     rc=${PIPESTATUS[0]}
> possible bashism in ./usr/lib/lustre/tests/ line 145 (bash
> arrays, ${name[0|*|@]}):
>     rc=${PIPESTATUS[0]}

Not using bash (or a Debian Policy compliant shell interpreter that doesn't
provide such an extra feature) as /bin/sh is likely to lead to errors or
unexpected behaviours. Please be aware that dash is now the default /bin/sh.

Hints about how to fix bashisms can be found at:

If you still don't know how to fix the bashisms don't hesitate to reply to
this email, or tag the bug as 'help'.

Thank you,
Raphael Geissert

Pkg-lustre-maintainers mailing list

Reply via email to