_POSIX2_VERSION=199209 and POSIXLY_CORRECT=1 so that it's a better test for obsolescent features.
`(exit N); exit N'. Otherwise, those many tests could exit with improper exit status when exiting via e.g., a trapped interrupt. Thanks to a report from Bob Proulx.