[Tickets #15099] tests for Horde-Mime-Viewer fail for centos7/rhel7

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Mar 18 17:12:07 UTC 2022


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/15099
------------------------------------------------------------------------------
  Ticket           | 15099
  Erstellt Von     | cheese at nosuchhost.net
  Zusammenfassung  | tests for Horde-Mime-Viewer fail for centos7/rhel7
  Warteschlange    | Horde Framework Packages
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


cheese at nosuchhost.net (2022-03-18 17:12) hat geschrieben:

running the tests under centos7/rhel7 fail since 2.2.3 during building  
rpm-packages.
the tests were added/changed with 2.2.3, as fas as i can see.

the same tests work under fedora 35

centos7/rhel7 (fail):
+ cd Horde_Mime_Viewer-2.2.4/test/Horde/Mime/Viewer
+ /usr/bin/phpunit -d date.timezone=UTC --bootstrap bootstrap.php .
PHP Fatal error:  Cannot redeclare class PHPUnit_Framework_TestCase in  
/usr/share/php/PHPUnit/Framework/TestCase.php on line 65
error: Bad exit status from /var/tmp/rpm-tmp.kO1Scc (%check)
     Bad exit status from /var/tmp/rpm-tmp.kO1Scc (%check)

<mock-chroot> sh-4.2# php --version
PHP 5.4.45 (cli) (built: Dec  3 2015 10:37:49)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies



fedora 35 (working):
+ cd Horde_Mime_Viewer-2.2.4/test/Horde/Mime/Viewer
+ /usr/bin/phpunit -d date.timezone=UTC --bootstrap bootstrap.php .
PHPUnit 5.7.27 by Sebastian Bergmann and contributors.

.                                                                   1  
/ 1 (100%)

Time: 76 ms, Memory: 4.00MB

OK (1 test, 2 assertions)






More information about the bugs mailing list