From 72acdf0f6393ed7c1dec410068549a1c7c60faa3 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 8 Nov 2015 17:40:59 +0000 Subject: Testsuite: fix fallout from TLS-by-default Also handle testsuite run user different from testsuite files owner --- test/runtest | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'test/runtest') diff --git a/test/runtest b/test/runtest index 2ef749f33..be4c7b0fe 100755 --- a/test/runtest +++ b/test/runtest @@ -2458,8 +2458,13 @@ if ($parm_exim eq "") # deal with TRUSTED_CONFIG_LIST restrictions unlink("$parm_cwd/test-config") if -e "$parm_cwd/test-config"; -symlink("$parm_cwd/confs/0000", "$parm_cwd/test-config") - or die "Unable to link initial config into place: $!\n"; +open (IN, "$parm_cwd/confs/0000") || + tests_exit(-1, "Couldn't open $parm_cwd/confs/0000: $!\n"); +open (OUT, ">test-config") || + tests_exit(-1, "Couldn't open test-config: $!\n"); +while () { print OUT; } +close(IN); +close(OUT); print("Probing with config file: $parm_cwd/test-config\n"); open(EXIMINFO, "$parm_exim -d -C $parm_cwd/test-config -DDIR=$parm_cwd " . -- cgit v1.2.3