summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-02-13 14:06:33 +0200
committerSergey Poznyakoff <gray@gnu.org>2021-02-13 14:06:33 +0200
commitd55e77b247a26c8e2807ffbf03284ad559e8a9ef (patch)
treee965ab359bd9db8326bf6ba77daec473c0786adc
parent98e16306791e4cf1c167c9319522d0531de66c7c (diff)
downloadmailutils-d55e77b247a26c8e2807ffbf03284ad559e8a9ef.tar.gz
mailutils-d55e77b247a26c8e2807ffbf03284ad559e8a9ef.tar.bz2
Skip imap4d tests if home directory does not exist
* imap4d/tests/testsuite.at (IMAP4D_RUN): Skip test if home directory does not exist.
-rw-r--r--imap4d/tests/testsuite.at4
1 files changed, 3 insertions, 1 deletions
diff --git a/imap4d/tests/testsuite.at b/imap4d/tests/testsuite.at
index 4d0481b23..d58303dd8 100644
--- a/imap4d/tests/testsuite.at
+++ b/imap4d/tests/testsuite.at
@@ -33,7 +33,9 @@ m4_define([IMAP4D_OPTIONS],[IMAP4D_PREAUTH_OPTIONS])
m4_define([IMAP4D_CONFIG],[make_config IMAP4D_HOMEDIR])
-m4_define([IMAP4D_RUN],[IMAP4D_CONFIG
+m4_define([IMAP4D_RUN],
+[test -d $HOME || AT_SKIP_TEST
+IMAP4D_CONFIG
m4_if([$2],[expand],
[cat > input <<EOT
$1

Return to:

Send suggestions and report system problems to the System administrator.