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