summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comsat/tests/atlocal.in2
-rw-r--r--comsat/tests/testsuite.at6
2 files changed, 6 insertions, 2 deletions
diff --git a/comsat/tests/atlocal.in b/comsat/tests/atlocal.in
index 113b7fc66..32e0ef89a 100644
--- a/comsat/tests/atlocal.in
+++ b/comsat/tests/atlocal.in
@@ -3,4 +3,6 @@
# Copyright (C) 2004, 2010-2012 Free Software Foundation, Inc.
PATH=@abs_builddir@:@abs_top_builddir@/comsat:$top_srcdir:$srcdir:$PATH
+@MU_COND_SUPPORT_MH_TRUE@MH_SUPPORT=yes
+@MU_COND_SUPPORT_MAILDIR_TRUE@MAILDIR_SUPPORT=yes
diff --git a/comsat/tests/testsuite.at b/comsat/tests/testsuite.at
index 93000c6cb..d1bf15d28 100644
--- a/comsat/tests/testsuite.at
+++ b/comsat/tests/testsuite.at
@@ -103,7 +103,8 @@ EOT
chmod 600 biff.rc
> $cwd/output
],
-[comsatcmd maildir:$cwd/mailbox new/1284627340.M364969P3770Q81.Trurl
+[test "$MAILDIR_SUPPORT" = yes || AT_SKIP_TEST
+comsatcmd maildir:$cwd/mailbox new/1284627340.M364969P3770Q81.Trurl
sed '1s/^Mail to .*/Mail to test user/' output
],
[Mail to test user
@@ -127,7 +128,8 @@ EOT
chmod 600 biff.rc
> $cwd/output
],
-[comsatcmd mh:$cwd/mailbox teaparty/58
+[test "$MH_SUPPORT" = yes || AT_SKIP_TEST
+comsatcmd mh:$cwd/mailbox teaparty/58
sed '1s/^Mail to .*/Mail to test user/' output
],
[Mail to test user

Return to:

Send suggestions and report system problems to the System administrator.