Build failure in module 1

I am getting build failure for list_files.sh and print_directory_structure.sh . I am getting same output as given by “Actual Output” in unit testing file when i run commands on the terminal but its showing different in the unit testing log file.

If you copy the script to a different directory and execute it, does it still give the correct output?

1 Like

yes, even then i am getting the same output

Is this issue resolved? i have similar issue for more 6 hrs.

Use different way of representing path to the bash file. Note that it should be independent of the linux user, because testimg bot will use another machine

Make sure your command is working irrespective of the directory and folder

Yeah, issue resolved now. I was putting one extra command which is not needed and after removing it i got build success.