Updated by: Sergei Butakov Date: 2011-05-08 Submitted By: DJ Lucas Date: 2008-03-09 Origin: self Initial Package Version: 9.4.1-P1 Description: allow use of ip command instead of ifconfig for test suite Upstream Status: Not applicable --- bin/tests/system/ifconfig.sh.orig 2011-05-08 20:25:36.011139965 +0600 +++ bin/tests/system/ifconfig.sh 2011-05-08 20:34:09.213142318 +0600 @@ -97,8 +97,10 @@ fi ;; *-*-linux*) - ifconfig lo:$int 10.53.0.$ns up netmask 255.255.255.0 - ifconfig lo inet6 add fd92:7065:b8e:ffff::$ns/64 +# ifconfig lo:$int 10.53.0.$ns up netmask 255.255.255.0 +# ifconfig lo inet6 add fd92:7065:b8e:ffff::$ns/64 + ip addr add 10.53.0.$ns/24 dev lo label lo:$int + ip addr add fd92:7065:b8e:ffff::$ns/64 dev lo ;; *-unknown-freebsd*) ifconfig lo0 10.53.0.$ns alias netmask 0xffffffff @@ -172,8 +174,10 @@ fi ;; *-*-linux*) - ifconfig lo:$int 10.53.0.$ns down - ifconfig lo inet6 del fd92:7065:b8e:ffff::$ns/64 +# ifconfig lo:$int 10.53.0.$ns down +# ifconfig lo inet6 del fd92:7065:b8e:ffff::$ns/64 + ip addr del 10.53.0.$ns/24 dev lo label lo:$int + ip addr del fd92:7065:b8e:ffff::$ns/64 dev lo ;; *-unknown-freebsd*) ifconfig lo0 10.53.0.$ns delete