mirror of https://github.com/01-edu/public.git
docs(change struct): fixing test and removing folders
This commit is contained in:
parent
3049697bf4
commit
18a21bfe6d
|
@ -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.
Binary file not shown.
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue