com php-src: this mtime comparison makes assumptions that cannot always hold true: ext/phar/tests/phar_gzip.phpt

From: Date: Sun, 16 Jun 2019 06:29:04 +0000
Subject: com php-src: this mtime comparison makes assumptions that cannot always hold true: ext/phar/tests/phar_gzip.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106812@lists.php.net to get a copy of this message
Commit: 228388447509107d61cb253acb614d8d3e5efabf Author: Joe Watkins <krakjoe@php.net> Sun, 16 Jun 2019 08:29:04 +0200 Parents: 7e1972796b1706a668643830f3e5aa9960a85a70 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=228388447509107d61cb253acb614d8d3e5efabf Log: this mtime comparison makes assumptions that cannot always hold true Changed paths: M ext/phar/tests/phar_gzip.phpt Diff: diff --git a/ext/phar/tests/phar_gzip.phpt b/ext/phar/tests/phar_gzip.phpt index 942ca9c..16821ca 100644 --- a/ext/phar/tests/phar_gzip.phpt +++ b/ext/phar/tests/phar_gzip.phpt @@ -39,11 +39,6 @@ $a->setAlias('another'); $b = new Phar($fname2); var_dump($b->isFileFormat(Phar::PHAR)); var_dump($b->isCompressed() == Phar::GZ); -$a = stat($pname . '/test'); -$b = stat($pname2 . '/test'); -if ($a['mtime'] != $b['mtime']) { - echo "timestamp changed, was $a[mtime], now $b[mtime]!\n"; -} ?> ===DONE=== --CLEAN--

« previous php.cvs (#106812) next »