]> diplodocus.org Git - nmh/commitdiff
Removed export of most of the variables in test/common.sh.in. The
authorDavid Levine <levinedl@acm.org>
Sun, 28 Dec 2014 18:46:22 +0000 (12:46 -0600)
committerDavid Levine <levinedl@acm.org>
Sun, 28 Dec 2014 18:46:22 +0000 (12:46 -0600)
test scripts source common.sh so they don't need them to be exported.

test/common.sh.in

index 3da171a..5461b01 100644 (file)
@@ -1,8 +1,8 @@
-# Common helper routines for test shell scripts -- intended to be sourced by them
+# Common helper routines for test shell scripts -- to be sourced by them
 # @configure_input@
 
 
-#### The following exported variables are set by "make check".  Ensure
+#### The following variables are set by "make check".  Ensure
 #### that they are set here so that individual tests can be run
 #### outside of make.  Requires that MH_OBJ_DIR be set on entry.
 test -z "$MH_TEST_DIR"  &&  MH_TEST_DIR="$MH_OBJ_DIR/test/testdir"
@@ -21,9 +21,6 @@ test -z "$supported_locks"  &&  supported_locks="@supported_locks@"
 test -z "$default_locking"  &&  default_locking="@default_locking@"
 test -z "$MULTIBYTE_ENABLED"  &&  MULTIBYTE_ENABLED="@MULTIBYTE_ENABLED@"
 test -z "$ICONV_ENABLED"  &&  ICONV_ENABLED="@ICONV_ENABLED@"
-export MH_TEST_DIR MH_INST_DIR
-export bindir mandir nmhetcdir nmhetcdirinst nmhlibexecdir
-export MULTIBYTE_ENABLED ICONV_ENABLED
 
 unset MAILDROP MHBUILD MHCONTEXT MHMTSUSERCONF MHN MHSHOW MHSTORE
 unset MHLDEBUG MHPDEBUG MHWDEBUG PAGER