X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f064e80eac20967124b9dfc154d24a58de74b623..a1829d0ea1260a9e361191054d84242a9b7f0f15:/test/README diff --git a/test/README b/test/README index 7bf605b5..1932cd76 100644 --- a/test/README +++ b/test/README @@ -71,6 +71,14 @@ in the test scripts. In particular: - Avoid depending on the exact format of output from system (non-nmh) programs. +The Heirloom Bourne Shell, http://heirloom.sourceforge.net/sh.html, +catches many non-portable shell constructs, such as $(), $(()), !, and +assignment in export statements. + checkbashisms, available at http://sourceforge.net/projects/checkbaskisms/, might help some catch problems. Though it misses all of the troublesome constructs, except for assignment in an export statement, listed above. + +The "Portable Shell" section of the Autoconf info manual has a wealth +of tips for avoiding portability problems in shell scripts. It might +be available by entering: info autoconf portable.