Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net/route Adjust outputs of route's flags to include a...



details:   https://anonhg.NetBSD.org/src/rev/cf92350428b5
branches:  trunk
changeset: 828524:cf92350428b5
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Mon Dec 18 04:11:46 2017 +0000

description:
Adjust outputs of route's flags to include a numeric output

diffstat:

 tests/net/route/t_change.sh |  14 +++++++-------
 tests/net/route/t_route.sh  |  18 +++++++++---------
 2 files changed, 16 insertions(+), 16 deletions(-)

diffs (144 lines):

diff -r 30b10b9cf409 -r cf92350428b5 tests/net/route/t_change.sh
--- a/tests/net/route/t_change.sh       Mon Dec 18 04:11:13 2017 +0000
+++ b/tests/net/route/t_change.sh       Mon Dec 18 04:11:46 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_change.sh,v 1.11 2017/03/24 04:06:19 ozaki-r Exp $
+#      $NetBSD: t_change.sh,v 1.12 2017/12/18 04:11:46 ozaki-r Exp $
 #
 # Copyright (c) 2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -125,7 +125,7 @@
     gateway: 10.0.0.1
  local addr: 10.0.0.10
   interface: shmif0
-      flags: <UP,GATEWAY,DONE,STATIC>
+      flags: 0x843<UP,GATEWAY,DONE,STATIC>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get 192.168.0.1 > ./output
@@ -144,7 +144,7 @@
     gateway: 10.0.0.1
  local addr: 10.0.0.11
   interface: shmif0
-      flags: <UP,GATEWAY,DONE,STATIC>
+      flags: 0x843<UP,GATEWAY,DONE,STATIC>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get 192.168.0.1 > ./output
@@ -192,7 +192,7 @@
     gateway: 10.0.0.1
  local addr: 10.0.0.10
   interface: shmif0
-      flags: <UP,GATEWAY,DONE,STATIC>
+      flags: 0x843<UP,GATEWAY,DONE,STATIC>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get 192.168.0.1 > ./output
@@ -211,7 +211,7 @@
     gateway: 10.0.0.1
  local addr: 10.0.0.11
   interface: shmif1
-      flags: <UP,GATEWAY,DONE,STATIC>
+      flags: 0x843<UP,GATEWAY,DONE,STATIC>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get 192.168.0.1 > ./output
@@ -259,7 +259,7 @@
     gateway: 10.0.0.1
  local addr: 10.0.0.10
   interface: shmif0
-      flags: <UP,GATEWAY,DONE,STATIC>
+      flags: 0x843<UP,GATEWAY,DONE,STATIC>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get 192.168.0.1 > ./output
@@ -278,7 +278,7 @@
     gateway: 10.0.0.1
  local addr: 10.0.0.11
   interface: shmif1
-      flags: <UP,GATEWAY,DONE,STATIC>
+      flags: 0x843<UP,GATEWAY,DONE,STATIC>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get 192.168.0.1 > ./output
diff -r 30b10b9cf409 -r cf92350428b5 tests/net/route/t_route.sh
--- a/tests/net/route/t_route.sh        Mon Dec 18 04:11:13 2017 +0000
+++ b/tests/net/route/t_route.sh        Mon Dec 18 04:11:46 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_route.sh,v 1.13 2017/06/28 04:10:47 ozaki-r Exp $
+#      $NetBSD: t_route.sh,v 1.14 2017/12/18 04:11:46 ozaki-r Exp $
 #
 # Copyright (c) 2016 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -234,7 +234,7 @@
 destination: 10.0.1.2
  local addr: 10.0.1.2
   interface: lo0
-      flags: <UP,HOST,DONE,LOCAL>
+      flags: 0x40045<UP,HOST,DONE,LOCAL>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get $IP4SRC > ./output
@@ -250,7 +250,7 @@
        mask: 255.255.255.0
  local addr: 10.0.1.2
   interface: shmif0
-      flags: <UP,DONE,CONNECTED>
+      flags: 0x141<UP,DONE,CONNECTED>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get $IP4SRCGW > ./output
@@ -266,7 +266,7 @@
     gateway: 10.0.1.1
  local addr: 10.0.1.2
   interface: shmif0
-      flags: <UP,GATEWAY,DONE,STATIC>
+      flags: 0x843<UP,GATEWAY,DONE,STATIC>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get $IP4DST > ./output
@@ -284,7 +284,7 @@
        mask: 255.255.255.0
  local addr: 10.0.1.2
   interface: shmif0
-      flags: <UP,DONE,CONNECTED>
+      flags: 0x141<UP,DONE,CONNECTED>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get $IP4SRCGW > ./output
@@ -309,7 +309,7 @@
 destination: fc00:0:0:1::2
  local addr: fc00:0:0:1::2
   interface: lo0
-      flags: <UP,HOST,DONE,LOCAL>
+      flags: 0x40045<UP,HOST,DONE,LOCAL>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get -inet6 $IP6SRC > ./output
@@ -324,7 +324,7 @@
        mask: ffff:ffff:ffff:ffff::
  local addr: fc00:0:0:1::2
   interface: shmif0
-      flags: <UP,DONE,CONNECTED>
+      flags: 0x141<UP,DONE,CONNECTED>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get -inet6 $IP6SRCGW > ./output
@@ -340,7 +340,7 @@
     gateway: fc00:0:0:1::1
  local addr: fc00:0:0:1::2
   interface: shmif0
-      flags: <UP,GATEWAY,DONE,STATIC>
+      flags: 0x843<UP,GATEWAY,DONE,STATIC>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get -inet6 $IP6DST > ./output
@@ -358,7 +358,7 @@
        mask: ffff:ffff:ffff:ffff::
  local addr: fc00:0:0:1::2
   interface: shmif0
-      flags: <UP,DONE,CONNECTED>
+      flags: 0x141<UP,DONE,CONNECTED>
  recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
        EOF
        rump.route -n get -inet6 $IP6SRCGW > ./output



Home | Main Index | Thread Index | Old Index