Here are a few fixes for chainlint. The first patch should avoid the confusion we discussed in the subthread at: https://lore.kernel.org/git/3714ba2f6528c38eb9c438126316a08b0cefca7c.1679696180.git.git@xxxxxxxxx/ and the relevant folks are cc'd. The rest are some old performance improvement ideas I had for the internal chain-linter. I doubt they make a huge difference overall, but they can be measured in certain cases. The first one to me looks like an obvious win. The second one is debatable, as it involves some hand-waving. The third one turned out not to make anything faster, but makes the code a little simpler. So I'm on the fence for patches 3 and 4 below, but the first two I think are strict improvements. [1/4]: tests: run internal chain-linter under "make test" [2/4]: tests: replace chainlint subshell with a function [3/4]: tests: drop here-doc check from internal chain-linter [4/4]: tests: skip test_eval_ in internal chain-lint t/Makefile | 2 +- t/test-lib.sh | 27 ++++++++++++++------------- 2 files changed, 15 insertions(+), 14 deletions(-) -Peff