diff uwsgi_ssl.t @ 1598:f069dd7ba5a7

Tests: compatibility with uwsgi python package on Fedora Linux.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 01 Oct 2020 17:17:04 +0100
parents 577e72267fec
children 5ac6efbe5552
line wrap: on
line diff
--- a/uwsgi_ssl.t
+++ b/uwsgi_ssl.t
@@ -95,12 +95,15 @@ my @uwsgiopts = ();
 if ($uwsgihelp !~ /--wsgi-file/) {
 	# uwsgi has no python support, maybe plugin load is necessary
 	push @uwsgiopts, '--plugin', 'python';
+	push @uwsgiopts, '--plugin', 'python3';
 }
 
+open OLDERR, ">&", \*STDERR; close STDERR;
 $t->run_daemon('uwsgi', @uwsgiopts,
 	'--ssl-socket', '127.0.0.1:' . port(8081) . ",$crt,$key",
 	'--wsgi-file', $d . '/uwsgi_test_app.py',
 	'--logto', $d . '/uwsgi_log');
+open STDERR, ">&", \*OLDERR;
 
 $t->run();