summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2019-09-22 12:18:54 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2019-09-22 12:23:37 +0100
commitadcf0aa0e5ee6bdd7136baa06cb67faafd182343 (patch)
tree75244dbd710cd522a23b439c055a356ca2cd1636 /test
parentbcd69700de5abae9ece41aadd403b621c6869ed6 (diff)
Testsuite: handle non-exim-writable testcase spoolfiles
Diffstat (limited to 'test')
-rw-r--r--test/confs/09102
-rw-r--r--test/confs/11002
-rw-r--r--test/scripts/0000-Basic/09104
-rw-r--r--test/scripts/1100-Basic-TLS/11004
-rw-r--r--test/scripts/5650-OCSP-GnuTLS/565323
5 files changed, 10 insertions, 25 deletions
diff --git a/test/confs/0910 b/test/confs/0910
index 3e754c071..941486be4 100644
--- a/test/confs/0910
+++ b/test/confs/0910
@@ -1,3 +1,3 @@
keep_environment =
tls_advertise_hosts =
-spool_directory = DIR/aux-fixed/0910
+spool_directory = DIR/tmp
diff --git a/test/confs/1100 b/test/confs/1100
index 48f8c2029..654a26e6b 100644
--- a/test/confs/1100
+++ b/test/confs/1100
@@ -1,4 +1,4 @@
keep_environment =
tls_advertise_hosts =
log_file_path = DIR/spool/log/%slog
-spool_directory = DIR/aux-fixed/1100
+spool_directory = DIR/tmp
diff --git a/test/scripts/0000-Basic/0910 b/test/scripts/0000-Basic/0910
index 5487842c9..cfca092d8 100644
--- a/test/scripts/0000-Basic/0910
+++ b/test/scripts/0000-Basic/0910
@@ -1,2 +1,6 @@
# Properly handle lines after very long ones from -H file
+mkdir -p DIR/tmp/input
+cp DIR/aux-fixed/TESTNUM/input/* DIR/tmp/input/
+sudo chmod 666 DIR/tmp/input/*
exim -Mset 1i3FVM-0008QX-DU -be '$body_linecount'
+sudo rm -fr DIR/tmp
diff --git a/test/scripts/1100-Basic-TLS/1100 b/test/scripts/1100-Basic-TLS/1100
index d993eb62a..fd83237b1 100644
--- a/test/scripts/1100-Basic-TLS/1100
+++ b/test/scripts/1100-Basic-TLS/1100
@@ -1,2 +1,6 @@
# Check for trailing backslash bug CVE-2019-15846
+mkdir -p DIR/tmp/input
+cp DIR/aux-fixed/TESTNUM/input/* DIR/tmp/input/
+sudo chmod 666 DIR/tmp/input/*
exim -Mset 1i2t1o-0000cD-CV -be '$tls_in_peerdn'
+sudo rm -fr DIR/tmp
diff --git a/test/scripts/5650-OCSP-GnuTLS/5653 b/test/scripts/5650-OCSP-GnuTLS/5653
deleted file mode 100644
index 55cea8b31..000000000
--- a/test/scripts/5650-OCSP-GnuTLS/5653
+++ /dev/null
@@ -1,23 +0,0 @@
-# OCSP stapling, server, multiple chain-element OCSP
-#
-#
-#
-exim -z '1: Server sends good staple on request, to client requiring RSA auth'
-****
-#
-exim -d+all -bd -oX PORT_D -DSERVER=server
-****
-exim -odf \
- -DOPT=NONE:+SIGN-RSA-SHA256:+VERS-TLS-ALL:+ECDHE-RSA:+DHE-RSA:+RSA:+CIPHER-ALL:+MAC-ALL:+COMP-NULL:+CURVE-ALL:+CTYPE-X509 \
- -DCERT=DIR/aux-fixed/exim-ca/example.com/server1.example.com/ca_chain.pem \
- rsa.auth@test.ex
-Subject: test
-
-.
-****
-killdaemon
-#
-#
-#
-#
-no_msglog_check