From 99db66676cc1f82c57386fb48f2f00a621f7511a Mon Sep 17 00:00:00 2001 From: "nilesh.kale" Date: Tue, 1 Aug 2023 14:47:51 +0530 Subject: [PATCH] fix: Fixed wrong filename in ota example readme --- examples/system/ota/README.md | 2 +- examples/system/ota/simple_ota_example/pytest_simple_ota.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/system/ota/README.md b/examples/system/ota/README.md index ff5e5ee8e0d..f837b56100b 100644 --- a/examples/system/ota/README.md +++ b/examples/system/ota/README.md @@ -156,7 +156,7 @@ Running a local https server might be tricky in some cases (due to self signed c - example of the script output: ``` bash $ cd idf/examples/system/ota/simple_ota_example -$ python example_test.py build 8070 +$ python pytest_simple_ota.py build 8070 Starting HTTPS server at "https://:8070" 192.168.10.106 - - [02/Mar/2021 14:32:26] "GET /simple_ota.bin HTTP/1.1" 200 - ``` diff --git a/examples/system/ota/simple_ota_example/pytest_simple_ota.py b/examples/system/ota/simple_ota_example/pytest_simple_ota.py index 93edd4bde2f..18b48af5705 100644 --- a/examples/system/ota/simple_ota_example/pytest_simple_ota.py +++ b/examples/system/ota/simple_ota_example/pytest_simple_ota.py @@ -331,7 +331,7 @@ def test_examples_protocol_simple_ota_example_with_verify_app_signature_on_updat if __name__ == '__main__': if sys.argv[2:]: # if two or more arguments provided: - # Usage: example_test.py [cert_di>] + # Usage: pytest_simple_ota.py [cert_di>] this_dir = os.path.dirname(os.path.realpath(__file__)) bin_dir = os.path.join(this_dir, sys.argv[1]) port = int(sys.argv[2])