==== create-default-loopback ====
doas -n ifconfig lo23 rdomain 23 up
ifconfig lo23 2>&1 | head -n1 | sed 's,23,RDO,g' |  diff -u /home/src/regress/sys/net/rdomains/lo.ok /dev/stdin

==== regress-ifalocal ====
doas -n sh /home/src/regress/sys/net/rdomains/ifalocal.sh
add net 10.0.0.0/28: gateway 10.0.0.1
add net 10.0.0.0/28: gateway 10.0.0.1
10.0.0.0/28          10.0.0.1             done
10.0.0.0/28          10.0.0.1             done