Update `t/test` to work with POSIX shell.