The test scripts test/00/*.sh use /bin/sh on the shebang line, but the scripts actually require bash to run. This is easy to replicate:
ln -sf /bin/dash /bin/sh make check
(and the checks fail due to syntax errors reported by dash).