X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2FREADME;h=1932cd7639eac2627d6816c69f70758b985735ab;hb=587e977a97865f091131355f6dd250ece99f7adb;hp=1ac904f28a22e5047e92d8a4fa596d1718386507;hpb=3af82657e2b0bf04758f149cdeed07e4143a151d;p=mmh diff --git a/test/README b/test/README index 1ac904f..1932cd7 100644 --- a/test/README +++ b/test/README @@ -70,3 +70,15 @@ 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.