summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kurilo <alex@kurilo.me>2018-12-07 00:07:18 +0300
committerJakub Zelenka <bukka@php.net>2019-01-10 20:09:42 +0000
commit1a1e12c2a964214ddce276a3c1cb6447393ad23c (patch)
tree029e886b12d34971a787b3d745a751c8f9910e85
parent1fab01be5bef046ff6dcbf843cc3db66faacda12 (diff)
downloadphp-git-1a1e12c2a964214ddce276a3c1cb6447393ad23c.tar.gz
Fix cleaning up after openssl_pkcs7_verify_basic test
-rw-r--r--ext/openssl/tests/openssl_pkcs7_verify_basic.phpt4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/openssl/tests/openssl_pkcs7_verify_basic.phpt b/ext/openssl/tests/openssl_pkcs7_verify_basic.phpt
index bd3169ac13..f3572491a1 100644
--- a/ext/openssl/tests/openssl_pkcs7_verify_basic.phpt
+++ b/ext/openssl/tests/openssl_pkcs7_verify_basic.phpt
@@ -43,9 +43,7 @@ if (file_exists($contentfile)) {
?>
--CLEAN--
<?php
-if (file_exists($pkcsfile)) {
- unlink($pkcsfile);
-}
+unlink(__DIR__ . DIRECTORY_SEPARATOR . '/openssl_pkcs7_verify__pkcsfile.tmp');
?>
--EXPECTF--
int(-1)