From 650a217b0ca609119ba8f6dae501c3e8eae8bd35 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 10 Feb 2019 00:43:28 +0100 Subject: [PATCH] Fix failing tests The run-tests script executes the cleaning section separately and interfers with the running test itself less. This fixes two failing tests on Windows platforms. --- ext/zip/tests/oo_unchangeIndex.phpt | 6 ++++-- ext/zip/tests/oo_unchangeName.phpt | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ext/zip/tests/oo_unchangeIndex.phpt b/ext/zip/tests/oo_unchangeIndex.phpt index eabb53c70b..f4b5a9a82a 100644 --- a/ext/zip/tests/oo_unchangeIndex.phpt +++ b/ext/zip/tests/oo_unchangeIndex.phpt @@ -29,8 +29,10 @@ var_dump($zip->getNameIndex(0)); var_dump($zip->getCommentIndex(0)); var_dump(md5_file($file)); - -unlink($file); +?> +--CLEAN-- + --EXPECT-- string(32) "cb753d0a812b2edb386bdcbc4cd7d131" diff --git a/ext/zip/tests/oo_unchangeName.phpt b/ext/zip/tests/oo_unchangeName.phpt index 3e16980685..23dd0574af 100644 --- a/ext/zip/tests/oo_unchangeName.phpt +++ b/ext/zip/tests/oo_unchangeName.phpt @@ -29,8 +29,10 @@ var_dump($zip->getNameIndex(0)); var_dump($zip->getCommentIndex(0)); var_dump(md5_file($file)); - -unlink($file); +?> +--CLEAN-- + --EXPECT-- string(32) "cb753d0a812b2edb386bdcbc4cd7d131" -- 2.50.0