Commit 2da568c2 authored by H. Fischer's avatar H. Fischer Committed by Jakob Moser
Browse files

Fix creation of multiple files with loop

parent e1c2ea23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -200,7 +200,7 @@ export const pooltest = test("Pooltest Sommersemester 2022", async function () {
        this.describe(`Gehe in den Ordner "/resources/stuff". Benenne die Datei "a_file.png" zu "b_file.png" um, 
        und lösche den Unterordner "to/" mit all seinen Inhalten.`)
    
        await this.prepareWith("mkdir -p /resources/stuff/to/delete && touch /resources/stuff/a_file.png && cd /resources/stuff/to/delete && for i in {0..10}; do touch 'trashfile$i.txt'; done && cd /root")
        await this.prepareWith(`mkdir -p /resources/stuff/to/delete && touch /resources/stuff/a_file.png && cd /resources/stuff/to/delete && for i in 1 2 3 4 5 6 7 8 9 10; do touch "trashfile$i.txt"; done && cd /root`)
    
        await this.manualConfirmation()