From 33d3badf54feb9bbb84b688f65301c321309ac71 Mon Sep 17 00:00:00 2001 From: RahimFatih Date: Wed, 2 Jun 2021 11:40:51 +0200 Subject: [PATCH] [#5] Added test for ICMP on Zedboard --- tests/network-server/ICMP/zedboard_icmp.robot | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tests/network-server/ICMP/zedboard_icmp.robot diff --git a/tests/network-server/ICMP/zedboard_icmp.robot b/tests/network-server/ICMP/zedboard_icmp.robot new file mode 100644 index 000000000..723a17f80 --- /dev/null +++ b/tests/network-server/ICMP/zedboard_icmp.robot @@ -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 + \ No newline at end of file