[exim-cvs] Testsuite: handle non-exim-writable testcase spoo…

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Testsuite: handle non-exim-writable testcase spoolfiles
Gitweb: https://git.exim.org/exim.git/commitdiff/adcf0aa0e5ee6bdd7136baa06cb67faafd182343
Commit:     adcf0aa0e5ee6bdd7136baa06cb67faafd182343
Parent:     bcd69700de5abae9ece41aadd403b621c6869ed6
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Sep 22 12:18:54 2019 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Sep 22 12:23:37 2019 +0100


    Testsuite: handle non-exim-writable testcase spoolfiles
---
 test/confs/0910                    |  2 +-
 test/confs/1100                    |  2 +-
 test/scripts/0000-Basic/0910       |  4 ++++
 test/scripts/1100-Basic-TLS/1100   |  4 ++++
 test/scripts/5650-OCSP-GnuTLS/5653 | 23 -----------------------
 5 files changed, 10 insertions(+), 25 deletions(-)


diff --git a/test/confs/0910 b/test/confs/0910
index 3e754c0..941486b 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 48f8c20..654a26e 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 5487842..cfca092 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 d993eb6..fd83237 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 55cea8b..0000000
--- 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@???
-Subject: test
-
-.
-****
-killdaemon
-#
-#
-#
-#
-no_msglog_check