From 6ce9606eeec3c7050ad8fe6182d64bd1694bb422 Mon Sep 17 00:00:00 2001 From: Philipp Takacs Date: Sat, 31 Oct 2015 15:52:31 +0100 Subject: [PATCH] test if aliasing work in spost --- test/tests/spost/test-alias | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 test/tests/spost/test-alias diff --git a/test/tests/spost/test-alias b/test/tests/spost/test-alias new file mode 100644 index 0000000..7705c6f --- /dev/null +++ b/test/tests/spost/test-alias @@ -0,0 +1,42 @@ +# test spost: bcc and dcc headers + +. "$MH_TEST_COMMON" + + +draft="$MH_TEST_DIR/spost-$$.draft" +alias="$MH_TEST_DIR/spost-$$.alias" + +profile="$MMH/profile-spost" +cd "$MMH" +cat "`mhparam profile`" - >"$profile" < +Aliasfile: $alias +! +cd - >/dev/null +export MMHP="$profile" + +cat > "$alias" < +bob: Bob +! +# to + cc headers + +cat >"$draft" < +To: Alice +Date: Sun, 25 Oct 2015 18:59:56 +0100 +Subject: Test alias in to and from + +foo +----EOM---- +alice@example.com +! -- 1.7.10.4