koto/phar-util

Several test cases fail with errors

Opened this issue · 0 comments

Several test cases fail with errors:

phpunit RemotePharVerifierTest.php
PHPUnit 3.7.13 by Sebastian Bergmann.

...EE.......................EEEEE

Time: 0 seconds, Memory: 6.00Mb

There were 7 errors:

  1. PharUtil_RemotePharVerifierTest::testVerifyDoesntCopyToVerifiedDir
    RuntimeException: rmdir(/usr/share/php/tests/PharUtil/test/PharUtil/tmp/tmp/..): Directory not empty

/usr/share/php/PharUtil/RemotePharVerifier.php:182
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:247
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:27

  1. PharUtil_RemotePharVerifierTest::testVerifyCorrectlyVerifies with data set #0 ('wrongsig.phar')
    RuntimeException: unlink(/usr/share/php/tests/PharUtil/test/PharUtil/tmp/tmp): No such file or directory

/usr/share/php/PharUtil/RemotePharVerifier.php:182
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:249
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:17

  1. PharUtil_RemotePharVerifierTest::testMovingToVerifiedDirectory
    RuntimeException: rmdir(/usr/share/php/tests/PharUtil/test/PharUtil/tmp/verified/.): Directory not empty

/usr/share/php/PharUtil/RemotePharVerifier.php:182
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:247
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:27

  1. PharUtil_RemotePharVerifierTest::testInvalidFileWontReachVerifiedDirectory
    RuntimeException: rmdir(/usr/share/php/tests/PharUtil/test/PharUtil/tmp/verified/.): Directory not empty

/usr/share/php/PharUtil/RemotePharVerifier.php:182
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:247
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:27

  1. PharUtil_RemotePharVerifierTest::testRenamingAFileStillMaintainsValidation
    RuntimeException: rmdir(/usr/share/php/tests/PharUtil/test/PharUtil/tmp/tmp/..): Directory not empty

/usr/share/php/PharUtil/RemotePharVerifier.php:182
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:247
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:17

  1. PharUtil_RemotePharVerifierTest::testIncludingVerifiedFile
    RuntimeException: rmdir(/usr/share/php/tests/PharUtil/test/PharUtil/tmp/verified/.): Directory not empty

/usr/share/php/PharUtil/RemotePharVerifier.php:182
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:247
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:27

  1. PharUtil_RemotePharVerifierTest::testVerifyingUsuallyKeepsFilenames
    RuntimeException: rmdir(/usr/share/php/tests/PharUtil/test/PharUtil/tmp/verified/.): Directory not empty

/usr/share/php/PharUtil/RemotePharVerifier.php:182
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:247
/usr/share/php/tests/PharUtil/test/PharUtil/RemotePharVerifierTest.php:27

FAILURES!
Tests: 33, Assertions: 62, Errors: 7.