From: Greg Sabino Mullane Date: Mon, 3 Aug 2009 16:01:01 +0000 (-0400) Subject: Allow for larger times X-Git-Tag: 2.10.0~1 X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=efec4badb7f8678a7eac20cbe2c950671b82c3d6;p=check_postgres.git Allow for larger times --- diff --git a/t/02_checkpoint.t b/t/02_checkpoint.t index ec76dfb83..b74547127 100644 --- a/t/02_checkpoint.t +++ b/t/02_checkpoint.t @@ -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); }