]> git.gsnw.org Git - fping.git/commitdiff
really release 3.10
authorDavid Schweikert <david@schweikert.ch>
Sun, 4 May 2014 20:32:14 +0000 (22:32 +0200)
committerDavid Schweikert <david@schweikert.ch>
Sun, 4 May 2014 20:32:14 +0000 (22:32 +0200)
ci/test-14-ping-internet-hosts.pl
configure.ac

index 249f02c8a0d90d15d7365159dcc1101a49d2e325..ec7f0987c1909f40e81a4c4f80934aa6acf18ae5 100755 (executable)
@@ -2,14 +2,16 @@
 
 use Test::Command tests => 3;
 
+my $re_num = qr{\d+(?:\.\d+)?};
+
 # fping
 {
 my $cmd = Test::Command->new(cmd => "fping -q -i 10 -p 20 -c 3 -t200  8.8.8.8 4.2.2.5 www.france-telecom.fr www.google.com");
 $cmd->exit_is_num(0);
 $cmd->stdout_is_eq("");
-$cmd->stderr_like(qr{8\.8\.8\.8\s*: xmt/rcv/%loss = [123]/3/\d+%, min/avg/max = \d+\.\d+/\d+\.\d+/\d+\.\d+
-4\.2\.2\.5\s*: xmt/rcv/%loss = [123]/3/\d+%, min/avg/max = \d+\.\d+/\d+\.\d+/\d+\.\d+
-www\.france-telecom\.fr\s*: xmt/rcv/%loss = [123]/3/\d+%, min/avg/max = \d+\.\d+/\d+\.\d+/\d+\.\d+
-www\.google\.com\s*: xmt/rcv/%loss = [123]/3/\d+%, min/avg/max = \d+\.\d+/\d+\.\d+/\d+\.\d+
+$cmd->stderr_like(qr{8\.8\.8\.8\s*: xmt/rcv/%loss = [123]/3/\d+%, min/avg/max = $re_num/$re_num/$re_num
+4\.2\.2\.5\s*: xmt/rcv/%loss = [123]/3/\d+%, min/avg/max = $re_num/$re_num/$re_num
+www\.france-telecom\.fr\s*: xmt/rcv/%loss = [123]/3/\d+%, min/avg/max = $re_num/$re_num/$re_num
+www\.google\.com\s*: xmt/rcv/%loss = [123]/3/\d+%, min/avg/max = $re_num/$re_num/$re_num
 });
 }
index d100dee3bf8747c0c0312136fa0c644fcff37d79..9e60f88e2e5d69e44d0ca6625517a47640197ccc 100644 (file)
@@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script.
 dnl Minimum Autoconf version required.
 AC_PREREQ(2.59)
 
-AC_INIT([fping],[3.9])
+AC_INIT([fping],[3.10])
 
 dnl make ipv4 and ipv6 options
 AC_ARG_ENABLE([ipv4],