diff --git a/sh/tests/change-struct_test.sh b/sh/tests/change-struct_test.sh index 65942ee65..00ef8f507 100755 --- a/sh/tests/change-struct_test.sh +++ b/sh/tests/change-struct_test.sh @@ -7,10 +7,10 @@ IFS=' print_content() { mkdir -p uncompressed - tar -xpf done.tar -C uncompressed + tar -xpf change-struct.tar -C uncompressed tree uncompressed } -submitted=$(cd student/new-struct && print_content) -expected=$(cd solutions/new-struct && print_content) +submitted=$(cd student && print_content) +expected=$(cd solutions && print_content) diff <(echo "$submitted") <(echo "$expected") diff --git a/sh/tests/solutions/change-struct.tar b/sh/tests/solutions/change-struct.tar new file mode 100644 index 000000000..e5d57923d Binary files /dev/null and b/sh/tests/solutions/change-struct.tar differ diff --git a/sh/tests/solutions/new-struct/0_to_3/0/.gitignore b/sh/tests/solutions/new-struct/0_to_3/0/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/sh/tests/solutions/new-struct/0_to_3/1/.gitignore b/sh/tests/solutions/new-struct/0_to_3/1/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/sh/tests/solutions/new-struct/0_to_3/2/.gitignore b/sh/tests/solutions/new-struct/0_to_3/2/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/sh/tests/solutions/new-struct/0_to_3/3/text.txt b/sh/tests/solutions/new-struct/0_to_3/3/text.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/sh/tests/solutions/new-struct/4/text2.txt b/sh/tests/solutions/new-struct/4/text2.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/sh/tests/solutions/new-struct/6_to_9/6/.gitignore b/sh/tests/solutions/new-struct/6_to_9/6/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/sh/tests/solutions/new-struct/6_to_9/7/.gitignore b/sh/tests/solutions/new-struct/6_to_9/7/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/sh/tests/solutions/new-struct/6_to_9/8/.gitignore b/sh/tests/solutions/new-struct/6_to_9/8/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/sh/tests/solutions/new-struct/6_to_9/9/.gitignore b/sh/tests/solutions/new-struct/6_to_9/9/.gitignore deleted file mode 100644 index e69de29bb..000000000 diff --git a/sh/tests/solutions/new-struct/A/text3.txt b/sh/tests/solutions/new-struct/A/text3.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/sh/tests/solutions/new-struct/done.tar b/sh/tests/solutions/new-struct/done.tar deleted file mode 100644 index 1f5cb9f3d..000000000 Binary files a/sh/tests/solutions/new-struct/done.tar and /dev/null differ diff --git a/subjects/devops/change-struct/README.md b/subjects/devops/change-struct/README.md index f6875b61c..f163861ec 100644 --- a/subjects/devops/change-struct/README.md +++ b/subjects/devops/change-struct/README.md @@ -34,15 +34,15 @@ new-struct/ └── text3.txt ``` -Once it is done, use the command below to create the file `done.tar` to be submitted. +Once it is done, use the command below to create the file `change-struct.tar` to be submitted. ```console -$ tar -cf done.tar * +$ tar -cf change-struct.tar * $ ls new-struct/ -0_to_3 4 6_to_9 A done.tar +0_to_3 4 6_to_9 A change-struct.tar ``` -**Only `done.tar` should be submitted.** +**Only `change-struct.tar` should be submitted.** ### Hints