I assume the test is supposed to run with any standards compliant shell and not specifically GNU Bash: