Very often || die is missing behind echo to files or sed
For example:
echo '#!/bin/true' >share/genbuild.sh
should be
echo '#!/bin/true' >share/genbuild.sh || die
I think this will be part of a group of tests, which will never be 100% accurate, but remembers the maintainer to double check the line manually.
The following line lists all ebuilds with no die behind echo, while it is likely written to files there
qgrep -Nx "echo .* > " | grep -v die
Should we have a category suspicious for tests which will likely contain many false positives but are worth a verification?
We need the test for
Very often
|| dieis missing behindechoto files orsedFor example:
echo '#!/bin/true' >share/genbuild.shshould be
echo '#!/bin/true' >share/genbuild.sh || dieI think this will be part of a group of tests, which will never be 100% accurate, but remembers the maintainer to double check the line manually.
The following line lists all ebuilds with no die behind echo, while it is likely written to files there
qgrep -Nx "echo .* > " | grep -v dieShould we have a category
suspiciousfor tests which will likely contain many false positives but are worth a verification?We need the test for