From adcf0aa0e5ee6bdd7136baa06cb67faafd182343 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 22 Sep 2019 12:18:54 +0100 Subject: [PATCH] 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(-) delete mode 100644 test/scripts/5650-OCSP-GnuTLS/5653 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 -- 2.30.2