fix: Fixed wrong filename in ota example readme

This commit is contained in:
nilesh.kale 2023-08-01 14:47:51 +05:30
parent 31d87a0c59
commit 99db66676c
2 changed files with 2 additions and 2 deletions

View File

@ -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: - example of the script output:
``` bash ``` bash
$ cd idf/examples/system/ota/simple_ota_example $ 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" Starting HTTPS server at "https://:8070"
192.168.10.106 - - [02/Mar/2021 14:32:26] "GET /simple_ota.bin HTTP/1.1" 200 - 192.168.10.106 - - [02/Mar/2021 14:32:26] "GET /simple_ota.bin HTTP/1.1" 200 -
``` ```

View File

@ -331,7 +331,7 @@ def test_examples_protocol_simple_ota_example_with_verify_app_signature_on_updat
if __name__ == '__main__': if __name__ == '__main__':
if sys.argv[2:]: # if two or more arguments provided: if sys.argv[2:]: # if two or more arguments provided:
# Usage: example_test.py <image_dir> <server_port> [cert_di>] # Usage: pytest_simple_ota.py <image_dir> <server_port> [cert_di>]
this_dir = os.path.dirname(os.path.realpath(__file__)) this_dir = os.path.dirname(os.path.realpath(__file__))
bin_dir = os.path.join(this_dir, sys.argv[1]) bin_dir = os.path.join(this_dir, sys.argv[1])
port = int(sys.argv[2]) port = int(sys.argv[2])