Tests defs: avoid some useless subshells. * tests/defs: In the loop on "$required" tools: avoid subshells where not needed.