X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/5b67b1d4d8a843850665d3d1cf262a08a5e24b04..a514b8a78c447c8abc69386bee9f2c463b1c9362:/test/common.sh.in?ds=sidebyside diff --git a/test/common.sh.in b/test/common.sh.in index dabe6c54..4cf06e28 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -14,6 +14,7 @@ test -z "$bindir" && bindir="@bindir@" test -z "$mandir" && mandir="@mandir@" test -z "$sysconfdir" && sysconfdir="@sysconfdir@" 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 auxexecdir bindir mandir sysconfdir @@ -23,7 +24,10 @@ test -z "$MH_INST_DIR" && MH_INST_DIR="${MH_TEST_DIR}/inst" export MH_INST_DIR unset MHBUILD MHCONTEXT MHMTSUSERCONF MHN MHSHOW MHSTORE -unset MHLDEBUG MHPDEBUG MHWDEBUG MM_CHARSET PAGER +unset MHLDEBUG MHPDEBUG MHWDEBUG PAGER +#### Set LC_ALL in individual tests as needed. Unset these so +#### that we don't depend on user's settings in other tests. +unset LANG LC_ALL LC_TYPE #### Use a test dir for tmp files when MHTMPDIR applies. MHTMPDIR=$MH_TEST_DIR/Mail @@ -280,8 +284,8 @@ EOF for f in MailAliases components digestcomps distcomps forwcomps mhl.body \ mhl.digest mhl.format mhl.forward mhl.headers mhl.reply \ mhn.defaults rcvdistcomps replcomps replgroupcomps scan.MMDDYY \ - scan.YYYYMMDD scan.default scan.highlighted scan.mailx scan.nomime \ - scan.size scan.time scan.timely scan.unseen + scan.YYYYMMDD scan.curses scan.default scan.highlighted scan.mailx \ + scan.nomime scan.size scan.time scan.timely scan.unseen do cp "${MH_INST_DIR}${sysconfdir}/${f}" "${MH_TEST_DIR}/Mail" || exit 1 done