Loading static/js/exercises.mjs +11 −0 Original line number Diff line number Diff line Loading @@ -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. }) Loading
static/js/exercises.mjs +11 −0 Original line number Diff line number Diff line Loading @@ -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. })