docs(change struct): fixing test and removing folders

This commit is contained in:
miguel 2022-12-13 12:52:08 +00:00 committed by MSilva95
parent 3049697bf4
commit 18a21bfe6d
14 changed files with 7 additions and 7 deletions

View File

@ -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")

Binary file not shown.

View File

@ -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