Skip to content

Commit 90afd35

Browse files
committed
Specify openssl output format
1 parent 833f8ee commit 90afd35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osgtest/tests/test_407_voms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_08_voms_proxy_check(self):
8080

8181
pwd_entry = pwd.getpwnam(core.options.username)
8282
cert_path = os.path.join(pwd_entry.pw_dir, '.globus', 'usercert.pem')
83-
command = ['openssl', 'x509', '-in', cert_path, '-text']
83+
command = ['openssl', 'x509', '-in', cert_path, '-nameopt', 'compat', '-text']
8484
signature_re = re.compile(r'Signature Algorithm:\s+(\w+)\s')
8585
stdout = core.check_system(command, 'Check X.509 certificate algorithm', user=True)[0]
8686
match = signature_re.search(stdout)

0 commit comments

Comments
 (0)