WT-10793 changed the test/format/config.sh script, but did so incorrectly. It says:
sh ../../dist/s_clang_format test/format/$fc sh ../../dist/s_clang_format test/format/$fh
But the scripts are actually bash scripts, not sh. On some machines /bin/sh == /bin/bash, so this was not noticed.