]> granicus.if.org Git - php/commitdiff
Fix cleaning up after openssl_pkcs7_verify_basic test
authorAlexander Kurilo <alex@kurilo.me>
Thu, 6 Dec 2018 21:07:18 +0000 (00:07 +0300)
committerJakub Zelenka <bukka@php.net>
Thu, 10 Jan 2019 20:09:42 +0000 (20:09 +0000)
ext/openssl/tests/openssl_pkcs7_verify_basic.phpt

index bd3169ac130b47c40d6edce4e78fb6b910be0338..f3572491a1c8879725219b1a770680f7b4d3ef7d 100644 (file)
@@ -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)