|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] automation: add ping test to static-mem test
commit 9e051d3d4082394aaba799276d16e9f971c8b1db
Author: Stefano Stabellini <stefano.stabellini@xxxxxxx>
AuthorDate: Fri Jan 31 15:30:55 2025 -0800
Commit: Stefano Stabellini <stefano.stabellini@xxxxxxx>
CommitDate: Mon Mar 3 16:05:13 2025 -0800
automation: add ping test to static-mem test
With the recent fixes, Dom0less direct mapped domains can use PV
drivers. Extend the existing static-mem test with a PV network ping
tests.
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
---
automation/scripts/qemu-smoke-dom0less-arm64.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/automation/scripts/qemu-smoke-dom0less-arm64.sh
b/automation/scripts/qemu-smoke-dom0less-arm64.sh
index 83e1866ca6..f72d209361 100755
--- a/automation/scripts/qemu-smoke-dom0less-arm64.sh
+++ b/automation/scripts/qemu-smoke-dom0less-arm64.sh
@@ -25,6 +25,9 @@ if [[ "${test_variant}" == "static-mem" ]]; then
domU_check="
mem_range=$(printf \"%08x-%08x\" ${domu_base} $(( ${domu_base} + ${domu_size}
- 1 )))
if grep -q -x \"\${mem_range} : System RAM\" /proc/iomem; then
+ until ifconfig eth0 192.168.0.2 &> /dev/null && ping -c 10 192.168.0.1; do
+ sleep 30
+ done
echo \"${passed}\"
fi
"
--
generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |