From: David Levine Date: Sun, 28 Dec 2014 18:12:40 +0000 (-0600) Subject: Rearranged the variable settings at the top of test/common.sh.in. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/33c79a630fd551004f3d6df6851aa9d0ac069e57 Rearranged the variable settings at the top of test/common.sh.in. --- diff --git a/test/common.sh.in b/test/common.sh.in index d1e79b7b..b5703efb 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -6,23 +6,22 @@ #### 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" +test -z "$MH_INST_DIR" && MH_INST_DIR="${MH_TEST_DIR}/inst" test -z "$prefix" && prefix=@prefix@ test -z "$datarootdir" && datarootdir=@datarootdir@ test -z "$exec_prefix" && exec_prefix=@exec_prefix@ -test -z "$nmhlibexecdir" && nmhlibexecdir="@libexecdir@/nmh" test -z "$bindir" && bindir="@bindir@" test -z "$mandir" && mandir="@mandir@" test -z "$nmhetcdir" && nmhetcdir="@sysconfdir@/nmh" +test -z "$nmhlibexecdir" && nmhlibexecdir="@libexecdir@/nmh" 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 nmhlibexecdir bindir mandir nmhetcdir +export MH_TEST_DIR MH_INST_DIR +export bindir mandir nmhetcdir nmhlibexecdir export MULTIBYTE_ENABLED ICONV_ENABLED -test -z "$MH_INST_DIR" && MH_INST_DIR="${MH_TEST_DIR}/inst" -export MH_INST_DIR - unset MAILDROP MHBUILD MHCONTEXT MHMTSUSERCONF MHN MHSHOW MHSTORE unset MHLDEBUG MHPDEBUG MHWDEBUG PAGER #### Set LC_ALL in individual tests as needed. Unset these so