#!/bin/bash # $HeadURL$ $LastChangedRevision$ # Return code of all sourced files and eval-ed commands must tested. # note that we only allow spaces to preceed the beginning of the command, # which is a half-hearted way to allow 'if ...'. grep -Pr --include '*.sh' '^(\.|eval)(?!.* \|\| .*(".*: (INTERNAL ){0,1}ERROR: .*".*; exit 3|error "|internal "))' . | grep -v tests/bin/ || true