diff options
author | Farouk Bouabid <farouk.bouabid@theobroma-systems.com> | 2024-01-23 13:04:52 +0100 |
---|---|---|
committer | Farouk Bouabid <farouk.bouabid@theobroma-systems.com> | 2024-01-23 13:08:38 +0100 |
commit | d1a118d20907ab5d1dd00cbf073241e062152a2b (patch) | |
tree | 5302672ec49416dca8079fc7bd4e0c99b8b7a14e | |
parent | 040de5bccf213abbf6379f9a3f0d5aec2fb97553 (diff) |
testing: serial: test-serial: fix test size in unidirectional mode
Similar to commit 040de5bcc ("testing: serial: test-serial: fix test size
"), also unidirectional mode must use the local "size variable"
Fixes: 040de5bcc ("testing: serial: test-serial: fix test size ")
Signed-off-by: Farouk Bouabid <farouk.bouabid@theobroma-systems.com>
-rwxr-xr-x | testing/serial/test-serial.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/serial/test-serial.py b/testing/serial/test-serial.py index 87a56ae..a36d5b6 100755 --- a/testing/serial/test-serial.py +++ b/testing/serial/test-serial.py @@ -155,7 +155,7 @@ if __name__ == "__main__": end="", ) sys.stdout.flush() - ret = transfer(tx, rx, args.size) + ret = transfer(tx, rx, size) print("success" if ret else "fail") tx_errors += 0 if ret else 1 if args.exit_on_error and not ret: |