diff options
| author | Andrei Belov <defan@nginx.com> | 2020-03-12 18:40:48 +0300 |
|---|---|---|
| committer | Andrei Belov <defan@nginx.com> | 2020-03-12 18:40:48 +0300 |
| commit | 4b7ca39903178e20ec7381205694cb01f0dec6bc (patch) | |
| tree | 51afb9c7003b5927183e7ddecd766eb19e421233 /test/test_tls.py | |
| parent | 8414897527ed1616ea39a0cae4d1b8ee170d5cb8 (diff) | |
| parent | b3c8a7b33a29208e75dfe4f670cf81dac7b99ccc (diff) | |
| download | unit-1.16.0-1.tar.gz unit-1.16.0-1.tar.bz2 | |
Merged with the default branch.1.16.0-1
Diffstat (limited to 'test/test_tls.py')
| -rw-r--r-- | test/test_tls.py | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/test/test_tls.py b/test/test_tls.py index 1ead111c..475e9919 100644 --- a/test/test_tls.py +++ b/test/test_tls.py @@ -157,7 +157,8 @@ class TestTLS(TestApplicationTLS): '-genkey', '-out', self.testdir + '/ec.key', '-name', 'prime256v1', - ] + ], + stderr=subprocess.STDOUT, ) subprocess.call( @@ -170,7 +171,8 @@ class TestTLS(TestApplicationTLS): '-config', self.testdir + '/openssl.conf', '-key', self.testdir + '/ec.key', '-out', self.testdir + '/ec.crt', - ] + ], + stderr=subprocess.STDOUT, ) self.certificate_load('ec') @@ -230,7 +232,8 @@ class TestTLS(TestApplicationTLS): '-config', self.testdir + '/openssl.conf', '-out', self.testdir + '/int.csr', '-keyout', self.testdir + '/int.key', - ] + ], + stderr=subprocess.STDOUT, ) subprocess.call( @@ -242,7 +245,8 @@ class TestTLS(TestApplicationTLS): '-config', self.testdir + '/openssl.conf', '-out', self.testdir + '/end.csr', '-keyout', self.testdir + '/end.key', - ] + ], + stderr=subprocess.STDOUT, ) with open(self.testdir + '/ca.conf', 'w') as f: @@ -288,7 +292,8 @@ basicConstraints = critical,CA:TRUE""" '-cert', self.testdir + '/root.crt', '-in', self.testdir + '/int.csr', '-out', self.testdir + '/int.crt', - ] + ], + stderr=subprocess.STDOUT, ) subprocess.call( @@ -302,7 +307,8 @@ basicConstraints = critical,CA:TRUE""" '-cert', self.testdir + '/int.crt', '-in', self.testdir + '/end.csr', '-out', self.testdir + '/end.crt', - ] + ], + stderr=subprocess.STDOUT, ) crt_path = self.testdir + '/end-int.crt' |
