forked from renode/renode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#5] Added test for ICMP on Zedboard
- Loading branch information
RahimFatih
committed
Jun 2, 2021
1 parent
46f400b
commit 33d3bad
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
*** Settings *** | ||
Library Process | ||
Suite Setup Setup | ||
Suite Teardown Teardown | ||
Test Setup Reset Emulation | ||
Test Teardown Test Teardown | ||
Resource ${RENODEKEYWORDS} | ||
|
||
*** Variables *** | ||
${SCRIPT} scripts/single-node/zedboard.resc | ||
|
||
*** Test Cases *** | ||
Ping Network Server with Zedboard | ||
Execute Script ${SCRIPT} | ||
Execute Command emulation CreateNetworkServer "server" "192.168.1.11" | ||
Execute Command connector Connect server switch | ||
Create Terminal Tester sysbus.uart1 | ||
Start Emulation | ||
|
||
Wait For Line On Uart xemacps e000b000.ps7-ethernet: link up (100/FULL) | ||
Send Key To Uart 0xd | ||
Wait For Prompt On Uart zynq> | ||
Write Line To Uart ping 192.168.1.11 -w 1 | ||
Wait For Line On Uart 1 packets transmitted, 1 packets received, 0% packet loss | ||
|