Fix test syntax to work with non-bash /bin/sh.