|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59649 FAIL rrd_info test [tests/rrd_012.phpt]
Submitted: 2011-03-05 04:21 UTC Modified: 2011-03-22 07:19 UTC
From: Fedora at FamilleCollet dot com Assigned: kubelik (profile)
Status: Closed Package: rrd (PECL)
PHP Version: 5.3.5 OS: GNU/Linux (Fedora 14)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
14 + 50 = ?
Subscribe to this entry?

 [2011-03-05 04:21 UTC] Fedora at FamilleCollet dot com
This test fails 

On fedora 14, x86_64, rrdtool 1.4.4
003+   string(64) "/dev/shm/php-pecl-rrd-0.10.0/rrd-0.10.0/tests/testData/speed.rrd"
003-   string(61) %s
011+   int(800)
011-   int(740)
033+   int(12)
033-   int(9)
047+   int(6)
047-   int(0)

On fedora 14, i386, rrdtool 1.4.4
003+   string(77) "/builddir/build/BUILD/php-pecl-rrd-0.10.0/rrd-0.10.0/tests/testData/speed.rrd"
003-   string(61) %s
033+   int(6)
033-   int(9)
047+   int(7)
047-   int(0)

On fedora 13, i386, rrdtool 1.3.8
001+ array(25) {
001- array(27) {
003+   string(77) "/builddir/build/BUILD/php-pecl-rrd-0.10.0/rrd-0.10.0/tests/testData/speed.rrd"
003-   string(61) %s
010-   ["header_size"]=>
011-   int(740)
012-   ["ds[speed].index"]=>
013-   int(0)
043+   int(1)
047-   int(0)

It seems to be an arch / rrdtool version issue.
- header_size seems arch dependant and not provided by all rrdtool library version.

It should be usefull to have test which are not arch / rrdtool version dependant.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-06 03:19 UTC] fedora at famillecollet dot com
Patch proposal

This patch fixes this test with rrdtool 1.4.4

(with version 1.3.x some other tests fail..., 
p.e. generated image height is 148 instead of 149)

I could provide you full test results for i386 and x86_64 with rrdtool version 1.3.4, 1.3.8 and 1.4.4 if needed.
 [2011-03-22 07:19 UTC] koubel at seznam dot cz
rrd_info test is more platform and rrd_version independent now.

Please, pack your tests result against current trunk and make it public for download on some url. Then make a new bug as request for more version dependent tests with this url. Then I'll try  maybe make some first test as example, then rest of work will be up to you as patches.

I'll try to make rrd_version() method for possibility to make version dependent tests as you suggest in #22586.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Oct 16 06:03:34 2021 UTC