com php-src: Fix test: ext/spl/tests/bug68825.phpt
| From: | Nikita Popov | Date: | Sun, 30 Sep 2018 17:56:28 +0000 |
| Subject: | com php-src: Fix test: ext/spl/tests/bug68825.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-103277@lists.php.net to get a copy of this message | ||
Commit: ab2120e4e563104da06dec7a37945d86b28b1727
Author: Nikita Popov <nikita.ppv@gmail.com> Sun, 30 Sep 2018 19:56:28 +0200
Parents: 8595dc8fa93237565217e7d8d42e7e79dcd427e7
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ab2120e4e563104da06dec7a37945d86b28b1727
Log:
Fix test
Changed paths:
M ext/spl/tests/bug68825.phpt
Diff:
diff --git a/ext/spl/tests/bug68825.phpt b/ext/spl/tests/bug68825.phpt
index 6bc03cb..e662503 100644
--- a/ext/spl/tests/bug68825.phpt
+++ b/ext/spl/tests/bug68825.phpt
@@ -6,7 +6,7 @@ $dir = __DIR__ . '/bug68825';
if (!mkdir($dir)) {
die('Failed to create temporary directory for testing');
-} else if (!symlink(__FILE__, $dir . '/bug.phpt')) {
+} else if (!symlink(__FILE__, $dir . '/bug')) {
die('Failed to create symbolic link');
}
@@ -24,6 +24,6 @@ string(%d) "%s%eext%espl%etests%ebug68825.php"
--CLEAN--
<?php
$dir = __DIR__ . '/bug68825';
-unlink($dir . '/bug.phpt');
+unlink($dir . '/bug');
rmdir($dir);
?>