File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,13 @@ ASSERT expect <<DONE
4545 expect "riscv32 GNU/Linux" { send "ip l set eth0 up\n" } timeout { exit 3 }
4646 expect "# " { send "ip a add 192.168.10.2/24 dev eth0\n" }
4747 expect "# " { send "ping -c 3 192.168.10.1\n" }
48- expect "3 packets transmitted, 3 packets received, 0% packet loss" { } timeout { exit 4 }
48+ expect "3 packets transmitted, 3 packets received, 0% packet loss" { } timeout { exit 4 }
4949 } elseif { "$NETDEV " == "user" } {
50- # Test slirp configuration
51- expect "riscv32 GNU/Linux" { send "\x01"; send "x" } timeout { exit 3 }
50+ expect "riscv32 GNU/Linux" { send "ip addr add 10.0.2.15/24 dev eth0\n" } timeout { exit 3 }
51+ expect "# " { send "ip link set eth0 up\n"}
52+ expect "# " { send "ip route add default via 10.0.2.2\n"}
53+ expect "# " { send "ping -c 3 10.0.2.2\n" }
54+ expect "3 packets transmitted, 3 packets received, 0% packet loss" { } timeout { exit 4 }
5255 }
5356DONE
5457}
You can’t perform that action at this time.
0 commit comments