robsd-exec: timeout 3600s + . /usr/local/libexec/robsd/util-regress.sh + config_load + << "EOF" + _err=0 + _env=REGRESS_FAIL_EARLY=no + config_value regress-sbin/route-env + 2> /dev/null + _env=REGRESS_FAIL_EARLY=no GOCACHE=/tmp RDOMAIN=11 + _make=make -C /home/src/regress/sbin/route REGRESS_FAIL_EARLY=no GOCACHE=/tmp RDOMAIN=11 + config_value regress-sbin/route-targets + regress_root sbin/route + export SUDO + unpriv -c staff build exec make -C /home/src/regress/sbin/route REGRESS_FAIL_EARLY=no GOCACHE=/tmp RDOMAIN=11 regress ==== netmask ==== doas -n /sbin/route -T 11 -n -t add -net 192.0.3/24 192.0.2.1 add net 192.0.3/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n -t add -net 192.0.4.0 -netmask 255.255.255.0 192.0.2.1 add net 192.0.4.0: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n -t delete -net 192.0.3/24 192.0.2.1 delete net 192.0.3/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n -t delete -net 192.0.4.0 -netmask 255.255.255.0 192.0.2.1 delete net 192.0.4.0: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n -t add -dst 192.0.3/24 192.0.2.1 add net 192.0.3/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n -t add -dst 192.0.4.0 -netmask 255.255.255.0 192.0.2.1 add net 192.0.4.0: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n -t delete -dst 192.0.3/24 192.0.2.1 delete net 192.0.3/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n -t delete -dst 192.0.4.0 -netmask 255.255.255.0 192.0.2.1 delete net 192.0.4.0: gateway 192.0.2.1 ==== rttest1 ==== doas -n /sbin/route -T 11 -n add 10/8 192.0.2.1 add net 10/8: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add 10.0/16 192.0.2.4 add net 10.0/16: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n add 10.0/10 192.0.2.4 add net 10.0/10: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n add 10.8/16 192.0.2.3 add net 10.8/16: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add 10.8.0/24 192.0.2.1 add net 10.8.0/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add 10.8.3/24 192.0.2.3 add net 10.8.3/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add 10.8.4/24 192.0.2.4 add net 10.8.4/24: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest1.ok /dev/stdin ==== rttest2 ==== doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest2.ok /dev/stdin ==== rttest3 ==== doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 && exit 1 || exit 0 add net 10.8.1/24: gateway 192.0.2.3: File exists doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest3.ok /dev/stdin ==== rttest4 ==== doas -n /sbin/route -T 11 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest4.ok /dev/stdin ==== rttest5 ==== doas -n /sbin/route -T 11 -n add -mpath -priority 16 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add -mpath -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add -mpath -priority 18 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 ! doas -n /sbin/route -T 11 -n add -mpath -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2: File exists doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest5.ok /dev/stdin ==== rttest6 ==== doas -n /sbin/route -T 11 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 ! doas -n /sbin/route -T 11 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2: File exists doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest6.ok /dev/stdin ==== rttest7 ==== doas -n /sbin/route -T 11 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n delete -priority 17 10.8.1/24 delete net 10.8.1/24 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest7.ok /dev/stdin ==== rttest8 ==== doas -n /sbin/route -T 11 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n ifconfig lo10002 down ! doas -n /sbin/route -T 11 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2: File exists # Wait until SRP reference count are dropped sleep .5 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest8.ok /dev/stdin ==== rttest9 ==== doas -n /sbin/route -T 11 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n ifconfig lo10002 down doas -n /sbin/route -T 11 -n delete -priority 17 10.8.1/24 delete net 10.8.1/24 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest9.ok /dev/stdin ==== rttest10 ==== doas -n ifconfig lo10002 down doas -n /sbin/route -T 11 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest10.ok /dev/stdin ==== rttest11 ==== doas -n ifconfig lo10002 down doas -n /sbin/route -T 11 -n add -priority 16 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add -priority 18 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add -priority 17 10.8.1/24 192.0.2.2 add net 10.8.1/24: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest11.ok /dev/stdin ==== rttest12 ==== doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n change -mpath 10.8.1/24 192.0.2.4 change net 10.8.1/24: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest12.ok /dev/stdin ==== rttest13 ==== doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 ! doas -n /sbin/route -T 11 -n change -mpath 10.8.1/24 192.0.2.1 change net 10.8.1/24: gateway 192.0.2.1: not in table ==== rttest14 ==== doas -n ifconfig lo10001 inet6 eui64 doas -n ifconfig lo10002 inet6 fd88::1/64 doas -n ifconfig lo10003 inet6 fd99::1/64 doas -n /sbin/route -T 11 -n add -inet6 fd88::666 fd99::1 add host fd88::666: gateway fd99::1 doas -n /sbin/route -T 11 -n change fd88::666 -mtu 1500 change host fd88::666 doas -n /sbin/route -T 11 -n show -inet6 2>&1 | diff -u /home/src/regress/sbin/route/rttest14.ok /dev/stdin ==== rttest15 ==== doas -n /sbin/route -T 11 -n add 10.0/16 192.0.2.4 add net 10.0/16: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n change 10.0/16 -ifa 192.0.2.2 change net 10.0/16 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest15.ok /dev/stdin ==== rttest16 ==== doas -n ifconfig lo10001 inet6 eui64 doas -n ifconfig lo10002 inet6 fd88::1/64 doas -n ifconfig lo10003 inet6 fd99::1/64 doas -n /sbin/route -T 11 -n add -inet6 fd88::666 fd99::1 add host fd88::666: gateway fd99::1 doas -n /sbin/route -T 11 -n change fd88::666 -ifp lo10002 change host fd88::666 doas -n /sbin/route -T 11 -n show -inet6 2>&1 | diff -u /home/src/regress/sbin/route/rttest16.ok /dev/stdin ==== rttest17 ==== doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n delete -mpath 10.8.1/24 192.0.2.3 delete net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n show -inet -gateway 2>&1 | diff -u /home/src/regress/sbin/route/rttest17.ok /dev/stdin ==== rttest18 ==== doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n delete -mpath 10.8.1/24 192.0.2.4 delete net 10.8.1/24: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n show -inet -gateway 2>&1 | diff -u /home/src/regress/sbin/route/rttest18.ok /dev/stdin ==== rttest19 ==== doas -n /sbin/route -T 11 -n add 10.8.1/24 192.0.2.1 add net 10.8.1/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add -mpath 10.8.1/25 192.0.2.3 add net 10.8.1/25: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add -mpath 10.8.1/25 192.0.2.4 add net 10.8.1/25: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n add 10.8.1/26 192.0.2.2 add net 10.8.1/26: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n delete -mpath 10.8.1/25 192.0.2.3 delete net 10.8.1/25: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n show -inet -gateway 2>&1 | diff -u /home/src/regress/sbin/route/rttest19.ok /dev/stdin ==== rttest20 ==== doas -n ifconfig lo10001 inet6 fd88::1/64 doas -n ifconfig lo10002 inet6 fd88::2/64 doas -n /sbin/route -T 11 -n add -inet6 2001:ee0:2001:c0::/64 fd88::1 add net 2001:ee0:2001:c0::/64: gateway fd88::1 doas -n /sbin/route -T 11 -n add -inet6 -mpath 2001:ee0:2001:c0::/64 fd88::2 add net 2001:ee0:2001:c0::/64: gateway fd88::2 doas -n /sbin/route -T 11 -n get -inet6 2001:ee0:2001:c0::/64 2>&1 | diff -u /home/src/regress/sbin/route/rttest20.ok /dev/stdin ==== rttest21 ==== doas -n /sbin/route -T 11 -n add 10.8.1/24 -gateway 192.0.2.3 -priority 4 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add 10.8.1/24 -gateway 192.0.2.3 -priority 3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add 10.8.1/24 -gateway 192.0.2.3 -priority 5 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest21.ok /dev/stdin ==== rttest22 ==== doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n change -mpath -mtu 1000 10.8.1/24 192.0.2.4 change net 10.8.1/24: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest22.ok /dev/stdin ==== rttest23 ==== doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 ! doas -n /sbin/route -T 11 -n change -mpath -mtu 1000 10.8.1/24 change net 10.8.1/24: not in table ==== rttest24 ==== doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n change -mpath -lock -mtu 1000 10.8.1/24 192.0.2.4 change net 10.8.1/24: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest24.ok /dev/stdin ==== rttest25 ==== doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.4 add net 10.8.1/24: gateway 192.0.2.4 ! doas -n /sbin/route -T 11 -n change -mpath -mtu 1000 10.8.1/24 192.0.2.1 change net 10.8.1/24: gateway 192.0.2.1: not in table ==== rttest26 ==== doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n change -mpath -mtu 1000 10.8.1/24 change net 10.8.1/24 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest26.ok /dev/stdin ==== rttest27 ==== doas -n /sbin/route -T 11 -n add -mpath 10.8.1/24 192.0.2.3 add net 10.8.1/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n change -mpath -mtu 1000 10.8.1/24 192.0.2.4 change net 10.8.1/24: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest27.ok /dev/stdin ==== rttest28 ==== ! doas -n /sbin/route -T 11 -n delete 192.0.2.1 192.0.2.1 delete host 192.0.2.1: gateway 192.0.2.1: Invalid argument ==== rttest29 ==== ! doas -n /sbin/route -T 11 -n change -expire 30 192.0.2.1 192.0.2.2 change host 192.0.2.1: gateway 192.0.2.2: Invalid argument ==== rttest30 ==== doas -n ifconfig vether99 rdomain 11 lladdr fe:e1:ba:d4:c8:1d up doas -n ifconfig vlan99 rdomain 11 parent vether99 vnetid 3 up doas -n ifconfig vether99 10.1.254.56/14 doas -n ifconfig vlan99 inet alias 10.1.255.1/14 doas -n ifconfig vlan99 inet alias 10.1.255.2/14 doas -n ifconfig vlan99 inet alias 10.1.255.3/14 doas -n ifconfig vlan99 down # Wait until SRP reference count are dropped sleep .5 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest30.ok /dev/stdin ==== rttest31 ==== doas -n /sbin/route -T 11 -n add -mpath 192.0.3/24 -priority 13 192.0.2.3 add net 192.0.3/24: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add -mpath 192.0.3/24 -priority 11 192.0.2.1 add net 192.0.3/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add -mpath 192.0.3/24 -priority 14 192.0.2.4 add net 192.0.3/24: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n add -mpath 192.0.3/24 -priority 12 192.0.2.2 add net 192.0.3/24: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest31.ok /dev/stdin ==== rttest32 ==== # Use vether(4) and vlan(4) because we need IFT_ETHER interfaces # for the auto-magic RTF_CLONING routes. doas -n ifconfig vether99 rdomain 11 lladdr fe:e1:ba:d4:c8:1d up doas -n ifconfig vether99 130.102.71.68/27 doas -n ifconfig vlan99 rdomain 11 parent vether99 vnetid 3 up doas -n ifconfig vlan99 130.102.71.70/27 # Inserting such route generate the insertion of a RTF_CLONED entry # attached to the specified interface doas -n /sbin/route -T 11 -n add -net 192.168.67.0/25 130.102.71.67 -priority 9 -ifp vether99 add net 192.168.67.0/25: gateway 130.102.71.67 doas -n /sbin/route -T 11 -n add -net 192.168.67.128/25 130.102.71.67 -priority 3 -ifp vlan99 add net 192.168.67.128/25: gateway 130.102.71.67 doas -n /sbin/route -T 11 -n show -inet 2>&1 | sed -e "s,link\#[0-9 ]*U,link# U," | diff -u /home/src/regress/sbin/route/rttest32.ok /dev/stdin ==== rttest33 ==== # Use vether(4) because we need IFT_ETHER interfaces # for the auto-magic RTF_CLONING routes. doas -n ifconfig vether99 rdomain 11 lladdr fe:e1:ba:d4:c8:1d up doas -n ifconfig vether99 192.168.178.52/24 doas -n ifconfig vether99 alias 192.168.178.53/24 doas -n /sbin/route -T 11 -n add default 192.168.178.1 add net default: gateway 192.168.178.1 # Remove the alias doas -n ifconfig vether99 192.168.178.53 delete doas -n /sbin/route -T 11 -n show -inet 2>&1 | sed -e "s,link\#[0-9 ]*U,link# U," | diff -u /home/src/regress/sbin/route/rttest33.ok /dev/stdin ==== rttest34 ==== doas -n ifconfig vether99 rdomain 11 lladdr fe:e1:ba:d4:c8:1d up doas -n ifconfig vether99 192.168.71.10 doas -n /sbin/route -T 11 -n add default 192.168.71.1 add net default: gateway 192.168.71.1 doas -n /sbin/route -T 11 -n show -inet 2>&1 | sed -e "s,link\#[0-9 ]*U,link# U," | diff -u /home/src/regress/sbin/route/rttest34.ok /dev/stdin ==== rttest35 ==== doas -n ifconfig vether99 rdomain 11 lladdr fe:e1:ba:d4:c8:1d up doas -n ifconfig vether99 192.168.3.23 doas -n /sbin/route -T 11 -n add 0.0.0.0/0 192.168.3.1 add net 0.0.0.0/0: gateway 192.168.3.1 doas -n /sbin/route -T 11 -n show -inet 2>&1 | sed -e "s,link\#[0-9 ]*U,link# U," | diff -u /home/src/regress/sbin/route/rttest35.ok /dev/stdin ==== rttest36 ==== doas -n ifconfig vether99 rdomain 11 lladdr fe:e1:ba:d4:c8:1d up doas -n ifconfig vether99 192.168.89.5 doas -n /sbin/route -T 11 -n add 0.0.0.0 192.168.89.1 add host 0.0.0.0: gateway 192.168.89.1 doas -n /sbin/route -T 11 -n show -inet 2>&1 | sed -e "s,link\#[0-9 ]*U,link# U," | diff -u /home/src/regress/sbin/route/rttest36.ok /dev/stdin ==== rttest37 ==== doas -n /sbin/route -T 11 -n add 10.1.0.2/24 192.0.2.1 add net 10.1.0.2/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add 10.2.1.8/16 192.0.2.2 add net 10.2.1.8/16: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add 10.3.5.7/8 192.0.2.3 add net 10.3.5.7/8: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add 172.25.8.3/24 192.0.2.1 add net 172.25.8.3/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add 172.30.2.5/16 192.0.2.2 add net 172.30.2.5/16: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add 172.21.4.7/8 192.0.2.3 add net 172.21.4.7/8: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add 192.168.5.3/24 192.0.2.1 add net 192.168.5.3/24: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add 192.168.9.8/16 192.0.2.2 add net 192.168.9.8/16: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add 192.168.1.7/8 192.0.2.3 add net 192.168.1.7/8: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest37.ok /dev/stdin ==== rttest38 ==== doas -n /sbin/route -T 11 -n add 10.0.0.5 192.0.2.1 add host 10.0.0.5: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add 10.4.2 192.0.2.2 add net 10.4.2: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add 10.5 192.0.2.3 add net 10.5: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add 10 192.0.2.4 add net 10: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n add 172.16.1.8 192.0.2.1 add host 172.16.1.8: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add 172.17.2 192.0.2.2 add net 172.17.2: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add 172.28 192.0.2.3 add net 172.28: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add 172 192.0.2.4 add net 172: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n add 192.168.7.9 192.0.2.1 add host 192.168.7.9: gateway 192.0.2.1 doas -n /sbin/route -T 11 -n add 192.168.2 192.0.2.2 add net 192.168.2: gateway 192.0.2.2 doas -n /sbin/route -T 11 -n add 192.168 192.0.2.3 add net 192.168: gateway 192.0.2.3 doas -n /sbin/route -T 11 -n add 192 192.0.2.4 add net 192: gateway 192.0.2.4 doas -n /sbin/route -T 11 -n show -inet 2>&1 | diff -u /home/src/regress/sbin/route/rttest38.ok /dev/stdin