From c031359616ae91addda71ecde1673cd7cd1f71c6 Mon Sep 17 00:00:00 2001 From: NikhitaR-IFX Date: Mon, 29 Jan 2024 15:36:03 +0530 Subject: [PATCH] tests/psoc6: Minor fix in path. Signed-off-by: NikhitaR-IFX --- tests/psoc6/run_psoc6_tests.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/psoc6/run_psoc6_tests.sh b/tests/psoc6/run_psoc6_tests.sh index 0d3bd61fd8f4e..69f0b6f89bcca 100755 --- a/tests/psoc6/run_psoc6_tests.sh +++ b/tests/psoc6/run_psoc6_tests.sh @@ -263,8 +263,8 @@ if [ ${fs} -eq 1 ]; then echo " attempting to save different test files in flash " echo echo " saving test_fs_small_file.txt to FS - (size : 10KB) " - MPREMOTE="../../tools/mpremote/mpremote.py" - command_output=$(python3 ${MPREMOTE} fs cp test_inputs/test_fs_small_file.txt :/) + MPREMOTE="tools/mpremote/mpremote.py" + command_output=$(python ${MPREMOTE} fs cp test_inputs/test_fs_small_file.txt :/) exp_output="cp test_inputs/test_fs_small_file.txt :/" if [ "$command_output" != "$exp_output" ]; then echo "Error: Cannot save small file." @@ -275,7 +275,7 @@ if [ ${fs} -eq 1 ]; then if [ ${afs} -eq 1 ]; then echo " saving test_fs_medium_file.txt to FS - (size : 500KB) " - command_output=$(python3 ${MPREMOTE} fs cp test_inputs/test_fs_medium_file.txt :/) + command_output=$(python ${MPREMOTE} fs cp test_inputs/test_fs_medium_file.txt :/) exp_output="cp test_inputs/test_fs_medium_file.txt :/" if [ "$command_output" != "$exp_output" ]; then echo "Error: Cannot save medium file." @@ -283,7 +283,7 @@ if [ ${fs} -eq 1 ]; then fi echo " saving test_fs_large_file.txt to FS - (size : 1MB) " - command_output=$(python3 ${MPREMOTE} fs cp test_inputs/test_fs_large_file.txt :/) + command_output=$(python ${MPREMOTE} fs cp test_inputs/test_fs_large_file.txt :/) exp_output="cp test_inputs/test_fs_large_file.txt :/" if [ "$command_output" != "$exp_output" ]; then echo "Error: Cannot save large file."