Vote The scripts are working perfectly in workspace but it fails test cases. [Attaching log file content]

2020-02-08 12:42:46,254 unitTesting INFO Running command_runner
2020-02-08 12:42:46,309 unitTesting INFO Running setup.sh…
2020-02-08 12:43:11,953 unitTesting INFO Module setup complete!
2020-02-08 12:43:11,967 unitTesting INFO Starting assessment…
2020-02-08 12:43:11,979 unitTesting INFO Assessing list_files.sh
2020-02-08 12:43:12,496 unitTesting INFO File: list_files.sh | Status: TEST_STATUS_SUCCESS
2020-02-08 12:43:12,511 unitTesting INFO Assessing print_directory_structure.sh
2020-02-08 12:43:13,111 unitTesting INFO File: print_directory_structure.sh | Status: TEST_STATUS_SUCCESS
2020-02-08 12:43:13,128 unitTesting INFO Assessing print_home_directory.sh
2020-02-08 12:43:13,604 unitTesting INFO File: print_home_directory.sh | Status: TEST_STATUS_SUCCESS
2020-02-08 12:43:13,621 unitTesting INFO Assessing print_number_of_occurrences.sh
2020-02-08 12:43:14,107 unitTesting ERROR /somilg050-ME_QBOX-7e5f3866-4a70-11ea-9271-771c66e4f57a/execution_dir/print_number_of_occurrences.sh returncode > 0! Check your code.
2020-02-08 12:43:14,123 unitTesting INFO File: print_number_of_occurrences.sh | Status: TEST_STATUS_FAILURE
2020-02-08 12:43:14,135 unitTesting INFO Assessment finished!
2020-02-08 12:43:14,162 unitTesting INFO Starting cleanup…
2020-02-08 12:43:14,216 unitTesting INFO Running cleanup.sh…

Make sure your command is working irrespective of the folder !

i m running the file print_directory_structure its working perfectly fine in the terminal but it failed the test cases. Can you please help me out

sir there is n directory named backup in QBox but error its its showing is file exists.
please help me out