Commit 043c56bb authored by H. Fischer's avatar H. Fischer Committed by Jakob Moser
Browse files

Add exercise for pwd

parent c7bcf8c9
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -233,6 +233,17 @@ export const pooltest = test("Pooltest Sommersemester 2022", async function () {
        })
    })

    this.exercise("Aktuelles Arbeitsverzeichnis anfangen", async function () {
        this.describe(`Lasse dir den absoluten Pfad ausgeben, an dem du dich gerade befindest. Verwende dazu einen Befehl, 
        auch wenn du den Pfad auf dieser Linux-Maschine bereits in der Prompt ablesen könntest.`)

        await this.prepareWith("cd /usr/bin")

        await this.manualConfirmation()

        this.verify().hasOutput("/usr/bin")
    })

    // 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.
})