]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
test should not be dependent on the current time v1.5.0-rc2
authorTobias Oetiker <tobi@oetiker.ch>
Sat, 21 Feb 2015 17:50:05 +0000 (18:50 +0100)
committerTobias Oetiker <tobi@oetiker.ch>
Sat, 21 Feb 2015 17:50:05 +0000 (18:50 +0100)
bindings/perl-shared/t/callback.t

index 47611d14521c1f921aa66d6da6065b240f3d6982..7883a9601769f67bc341d72cf20fa3b92edef260 100755 (executable)
@@ -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);