Commit e4d1fb0b authored by Jakob Moser's avatar Jakob Moser
Browse files

Work on preparation logic

parent ea2fe054
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -12,17 +12,17 @@ export const practice = test("Linux-Übungsmodus", function() {
    this.disableHandIn()

    this.exercise("Verzeichnisinhalt anzeigen", async function () {
        // TODO Add preparation logic

        this.describe(`Lass dir anzeigen, ob und wenn ja welche Dateien sich in diesem Verzeichnis befinden.`)
        
        await this.prepareWith("cd /root; if [[ -d tux ]]; then rm -r tux; fi")

        // TODO Add verification logic
    })

    this.exercise("Auch versteckte Dateien anzeigen", async function () {
        this.describe(`Lass dir anzeigen, welche Dateien sich in diesem Verzeichnis befinden (inklusive versteckter Dateien).`)

        await this.prepareWith("cd /root")
        await this.prepareWith("cd /root; if [[ -d tux ]]; then rm -r tux; fi")

        await this.manualConfirmation()