From 4518257d29ab7f02cf60c7a3f1784bc0f417e41e Mon Sep 17 00:00:00 2001 From: Tobias Oetiker Date: Sat, 21 Feb 2015 18:50:05 +0100 Subject: [PATCH] test should not be dependent on the current time --- bindings/perl-shared/t/callback.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/perl-shared/t/callback.t b/bindings/perl-shared/t/callback.t index 47611d14..7883a960 100755 --- a/bindings/perl-shared/t/callback.t +++ b/bindings/perl-shared/t/callback.t @@ -46,8 +46,8 @@ RRDs::fetch_cb_register(sub{ my $result = RRDs::graphv "callback.png", "--title", "Callback Demo", - "--start", "now", - "--end", "start+1d", + "--start", "1424540800", + "--end", "start+24h", "--lower-limit=0", "--interlace", "--imgformat","PNG", @@ -66,5 +66,5 @@ if (my $ERROR = RRDs::error) { } my $a = $result->{'print[0]'}; -my $b = '0.725982'; +my $b = '0.722767'; ok("$a eq $b",$a eq $b); -- 2.47.3