feat(console): Added ping command to console component

This commit is contained in:
Abhik Roy committed 2023-11-23 01:17:43 +11:00
1 parent 7faa97450b
commit 7babdeb970
15 files changed
+618

No files matched your search

@@ -0,0 +1,13 @@
# SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Unlicense OR CC0-1.0
# -*- coding: utf-8 -*-
import pytest
@pytest.mark.esp32
def test_examples_ping_command(dut):
dut.expect('esp>', timeout=30)
dut.write('ping 127.0.0.1')
dut.expect('5 packets transmitted, 5 received, 0% packet loss, time 0ms', timeout=30)
pass