From 18a21bfe6d88096a7f0d7d282f0fe9873069cbae Mon Sep 17 00:00:00 2001 From: miguel Date: Tue, 13 Dec 2022 12:52:08 +0000 Subject: [PATCH] docs(change struct): fixing test and removing folders --- sh/tests/change-struct_test.sh | 6 +++--- sh/tests/solutions/change-struct.tar | Bin 0 -> 40960 bytes .../solutions/new-struct/0_to_3/0/.gitignore | 0 .../solutions/new-struct/0_to_3/1/.gitignore | 0 .../solutions/new-struct/0_to_3/2/.gitignore | 0 sh/tests/solutions/new-struct/0_to_3/3/text.txt | 0 sh/tests/solutions/new-struct/4/text2.txt | 0 .../solutions/new-struct/6_to_9/6/.gitignore | 0 .../solutions/new-struct/6_to_9/7/.gitignore | 0 .../solutions/new-struct/6_to_9/8/.gitignore | 0 .../solutions/new-struct/6_to_9/9/.gitignore | 0 sh/tests/solutions/new-struct/A/text3.txt | 0 sh/tests/solutions/new-struct/done.tar | Bin 10240 -> 0 bytes subjects/devops/change-struct/README.md | 8 ++++---- 14 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 sh/tests/solutions/change-struct.tar delete mode 100644 sh/tests/solutions/new-struct/0_to_3/0/.gitignore delete mode 100644 sh/tests/solutions/new-struct/0_to_3/1/.gitignore delete mode 100644 sh/tests/solutions/new-struct/0_to_3/2/.gitignore delete mode 100644 sh/tests/solutions/new-struct/0_to_3/3/text.txt delete mode 100644 sh/tests/solutions/new-struct/4/text2.txt delete mode 100644 sh/tests/solutions/new-struct/6_to_9/6/.gitignore delete mode 100644 sh/tests/solutions/new-struct/6_to_9/7/.gitignore delete mode 100644 sh/tests/solutions/new-struct/6_to_9/8/.gitignore delete mode 100644 sh/tests/solutions/new-struct/6_to_9/9/.gitignore delete mode 100644 sh/tests/solutions/new-struct/A/text3.txt delete mode 100644 sh/tests/solutions/new-struct/done.tar 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 0000000000000000000000000000000000000000..e5d57923d170f7eb192148b88d54436cfb45f829 GIT binary patch literal 40960 zcmeI5Uvrx{5WxMMPod7uv@hqNKS)ZZPx&OB)FzFmHu2cF?akbWKgq~86jVU0Y%;fb z2?&sP_Qy)Q(h4nJpYw0od|&Jii{gI&I*af}&7anCX8tiPY4yLoM7fYNmWq@qt(DR< z%7jeWjL-tp9{LKpKp9$2Y-D?4*Om5b(JSs{)2pd-oM`6 zEw*I7Bjr0m^6aO3J;=w8WU;IiB(`L?u{X=(@#gz-wIlN_pu6YrIgc_W!cVm*k$zi+{EmS^oV({v|&bWWGj&yatl1{)V;uxV?Y3 z{WBp>{l8EwJ=(wdhyDK*-h@{BFS~Kq|CgP9dGcE)PZ;4ukd#QGh$au@kv!SXe!VAi zhKssE=URmT3gc{3-GW#O$rA$^UU0{IUJ_GK0L( zcJK!Y2158Vjr~6`>elKy_=5xkA^bVE|E;{B z3p@CO1Oq|*G5&`}-CCcIf0@7m69xqE7eZnC-wF)4u!FyVcmo3XOEV>e@jo!@w(2_h z7um1kzW7zNJ>0X*@>j~t>wEJ5O!;a4znuT!lrzl#>8aguw{`HRH?sfKq>G~ck3-w* z=??zvX8f`L@5OKIO&$FC&G=*dKNfAT=Y9NB2=Gn<+yDP5|G&}yGn4+0_TP)&*qi+P zt>ec>dVZyJmj59Ck7@M(#)9qnypR9WjqTs01f&1gli`@#{QRx`i<{ZM!1Z5au=ako z!XI+TulD=4{U6r<3&qj@tLZS-Ns~XwkY7#Q0RCFz{BKQ%u}<3f0}T1q#I^i~`F~PU zT>n$kVXTuTe~=-+nz$kMuQ2|r=`hwwlRwCiUrpQ~{@DN5bQtTT$sc6MuO@B?e~t5h zH66w}sqkOE<=MUY7zX%HS^ob1pQq;XdHo+(cKv^9MgVdBFF1&n3Zn&mmERg}|4iET z-L`UztyWApeREV;!FPLkE2ofh~W3`){xQmj7Ws2w~%Y{Qgr# ziIEN+fB2xUBCiEJZ2XTYiR1qj4aPfk{NaPXipW9yvH!1VFy5i#47^b-q5i0{AP9|G@Y!rN;lm z@qeF2u^csk8bA%822ca20n`9$05uS%flB^ow5h=1@gLXL|Hu5lFs4JEs_~CB6*xTp zOL6_r5Qro0t?-XF6cl3r9OwT>Q0@O{jlZ@32tz?3_HV!ciQ_;0IfmZ3|GwJJ*Q-3@ z_K!XGf8^!*k5rhgV7cA@&3ph3`G+zc@?7iwZ+8E-wb}I1Yy?2&Ir)@--hRUE+=i(2 z-Q4T;^@}QR@BZI-{i#{_M;X(0|7Z07qhdK$?)Xn7|3_-G7r5E{i*cO)j}PDcg5y7x z^wi<`#&cBL;pYiJK*epD(k<_?LWizKR*0R`#+WZ&kKLd z|GFmsspNm2`Q!diSHXYk|EIG4^UNRpzpL_>fS-G92;MvXSNg&q^Zy%qj8WkHzi4y6 zR^|cx6*r0hHvY%_{}{BJb)NZ0n)^NR@0tJW_zTk#VEosl1z+O$N1OXS@$dEh4?F&= zSULWOk2Lpt;@{W)nOXQ_=Kr+){xgpMv;YGxa{Qm5lWwoh h@t?~2zYBlN|7!<^rKkba0BQg=fEqvzpaw>2;6Hl*nk)bS literal 0 HcmV?d00001 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 1f5cb9f3df314d413a14b2fa636ffcef97bb9c74..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10240 zcmeI1-AV&75QXz7`vi7o^QV`6lHx@XK@l{CKE4^7m9klol#E0?xe1+YC(C>}$z+xe z>Fr>5Mzc|FF?y3bj-IZ28Ioq$S;ryf$MSQ`o}HPz=1VQUPao;=eVWYc^V8}0vRLc> zr}6q9f5Ji+{;DfL05|dvK7jvkETC`x>3B|e>6{cM75*W(YuzvVfDB1n>EGJOW+H`m zsa!(;vj3Cj2_S%*^>3m7YON|5ivD>x{y6^?XxA?h5xi6MUJk zUH=p~*MIT-X9HMg)BfxJXGgpLIm-DT>i?Z#!yO`k2p|H803v`0AOeWMzmLEta`r6; 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