6.0.0-alpha10
5/14/25

[#15099] tests for Horde-Mime-Viewer fail for centos7/rhel7
Summary tests for Horde-Mime-Viewer fail for centos7/rhel7
Queue Horde Framework Packages
Type Bug
State Unconfirmed
Priority 1. Low
Owners
Requester cheese (at) nosuchhost (dot) net
Created 03/18/2022 (1153 days ago)
Due
Updated 03/18/2022 (1153 days ago)
Assigned
Resolved
Milestone
Patch No

History
03/18/2022 05:12:07 PM cheese (at) nosuchhost (dot) net Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ tests for Horde-Mime-Viewer fail for centos7/rhel7
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
Reply to this comment
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)

Saved Queries