diff --git a/sh/tests/master-the-ls_test.sh b/sh/tests/master-the-ls_test.sh index 088cd52dc..2cc783adb 100755 --- a/sh/tests/master-the-ls_test.sh +++ b/sh/tests/master-the-ls_test.sh @@ -8,8 +8,8 @@ IFS=' script_dirS=$(cd -P "$(dirname "$BASH_SOURCE")" &>/dev/null && pwd) challenge() { - submitted=$(cd "$1" && bash "$script_dirS"/student/master-the-ls) - expected=$(cd "$1" && bash "$script_dirS"/solutions/master-the-ls) + submitted=$(cd "$1" && bash "$script_dirS"/student/master-the-ls.sh) + expected=$(cd "$1" && bash "$script_dirS"/solutions/master-the-ls.sh) diff <(echo "$submitted") <(echo "$expected") } diff --git a/sh/tests/solutions/master-the-ls b/sh/tests/solutions/master-the-ls.sh similarity index 100% rename from sh/tests/solutions/master-the-ls rename to sh/tests/solutions/master-the-ls.sh diff --git a/subjects/devops/master-the-ls/README.md b/subjects/devops/master-the-ls/README.md index 51f9c3bfb..3f7975238 100644 --- a/subjects/devops/master-the-ls/README.md +++ b/subjects/devops/master-the-ls/README.md @@ -2,7 +2,7 @@ ### Instructions -Put in a file `master-the-ls`, the command line that will: +Create a script `master-the-ls`, that will do the following: - list the files and directories of the current directory. - Ignore the hidden files, the "." and the "..".