diff --git a/test_module/greetin.sh b/test_module/greetin.sh new file mode 100644 index 0000000..3613b94 --- /dev/null +++ b/test_module/greetin.sh @@ -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 +} diff --git a/test_module/greetout.sh b/test_module/greetout.sh new file mode 100644 index 0000000..65d2e06 --- /dev/null +++ b/test_module/greetout.sh @@ -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 +} diff --git a/test_module/task_list.sh b/test_module/task_list.sh new file mode 100644 index 0000000..84fd94e --- /dev/null +++ b/test_module/task_list.sh @@ -0,0 +1,2 @@ +BASHTUTOR_TASK_FILE_LIST+=(greetin.sh) +BASHTUTOR_TASK_FILE_LIST+=(greetout.sh)