Allow for larger times
authorGreg Sabino Mullane <greg@endpoint.com>
Mon, 3 Aug 2009 16:01:01 +0000 (12:01 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Mon, 3 Aug 2009 16:01:01 +0000 (12:01 -0400)
t/02_checkpoint.t

index ec76dfb83d1a40331ea751cb99a82a0083be02ee..b7454712727d198ebda4c4e78c76714171a42a59 100644 (file)
@@ -69,10 +69,10 @@ $t=qq{$S returns the correct number of seconds};
 like ($cp->run(qq{-c 1 --datadir="$host"}), qr{was \d+ seconds ago}, $t);
 
 $t=qq{$S returns the expected output for MRTG};
-like ($cp->run(qq{-c 1 --output=MRTG --datadir="$host"}), qr{^\d\n0\n\nLast checkpoint was \d+ seconds ago}, $t);
+like ($cp->run(qq{-c 1 --output=MRTG --datadir="$host"}), qr{^\d+\n0\n\nLast checkpoint was \d+ seconds ago}, $t);
 
 $t=qq{$S returns the expected output for MRTG};
-like ($cp->run(qq{-c 199 --output=MRTG --datadir="$host"}), qr{^\d\n0\n\nLast checkpoint was \d+ seconds ago}, $t);
+like ($cp->run(qq{-c 199 --output=MRTG --datadir="$host"}), qr{^\d+\n0\n\nLast checkpoint was \d+ seconds ago}, $t);
 
 }