Commit 15107be2 authored by H. Fischer's avatar H. Fischer Committed by Jakob Moser
Browse files

Add incorrect exercise code

parent e594b643
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -202,6 +202,14 @@ export const pooltest = test("Pooltest Sommersemester 2022", async function () {
        })
    })

    // To add another exercise, simply copy and paste an this.exercise(...) block from above and adjust it.
    this.exercise("Ordner erstellen und navigieren", async function () {
        this.describe(`Erstelle unter dem Pfad "/tmp" einen Ordner mit dem Namen "computational", in dem sich ein weiterer Ordner
        mit dem Namen "linguistics" befindet.`)
    
        await this.manualConfirmation()
    
        this.verify('if [ -d /tmp/computational/linguistics/ ]; then echo "yes"; else echo "no"; fi').hasOutput("yes")
    })
    // To add another exercise, simply copy and paste an exercise(...) block from above and adjust it.
    // Order is respected, so you can e.g. order the exercises by increasing difficulty.
})