test module

This commit is contained in:
anon
2024-06-08 11:38:03 +02:00
parent 2200416fcd
commit 13f606665a
3 changed files with 28 additions and 0 deletions

13
test_module/greetin.sh Normal file
View File

@ -0,0 +1,13 @@
function description() {
echo "Enter 'echo hello world'"
}
function hint() {
echo with your keyboard
}
function validate() {
if [ "$*" == "echo hello world" ]; then
return 1
fi
}

13
test_module/greetout.sh Normal file
View File

@ -0,0 +1,13 @@
function description() {
echo "Enter 'echo goodbye world'"
}
function hint() {
echo also with your keyboard
}
function validate() {
if [ "$*" == "echo goodbye world" ]; then
return 1
fi
}

2
test_module/task_list.sh Normal file
View File

@ -0,0 +1,2 @@
BASHTUTOR_TASK_FILE_LIST+=(greetin.sh)
BASHTUTOR_TASK_FILE_LIST+=(greetout.sh)