Michael Prokop 8017840bee Fix new warnings with shellcheck v0.7.2 + disable shellcheck autopkgtest
The prefixed "x" construct within tests was used due to ancient bogus
shell implementations, but is no longer relevant. Fixes SC2268 warnings
with shellcheck v0.7.2.

Disable SC2030 + SC2031 issues in relevant lines in unmkinitramfs. Those
are false positives which are fixed with an upcoming version of
shellcheck, see https://github.com/koalaman/shellcheck/issues/2217

Further drop the shellcheck autopkgtest, quoting from #992798:

| Static analysis tools are intended to run on source code, while
| autopkgtest is intended to run against installed packages, where source
| code is in principle not relevant; we want to know whether the binary
| packages, as provided in the Debian archive, work correctly. In our
| opinion running this type of tools as integration tests in autopkgtest,
| or even as build-time tests is Wrong™, and should not be done. (Having
| them run in salsaci or equivalent is of course totally great.)

Closes: #992798
2021-08-28 11:12:43 +02:00
Description
initramfs-tools
2 MiB
Languages
Shell 68.3%
Roff 22.3%
C 9.3%