feat(job-regist): add new test case

This commit is contained in:
nprimo 2023-02-27 12:05:41 +01:00 committed by Niccolò Primo
parent 81cd3cbd11
commit 0d9bc4b654
1 changed files with 6 additions and 5 deletions

View File

@ -36,12 +36,12 @@ two_processes () {
source $script_dirS/$1
}
one_process_and_kill () {
echo do something
}
one_process_and_suspend () {
echo do something
sleep 5 &
source $script_dirS/$1
kill -STOP %1
sleep 2
kill -CONT %1
}
# end of test cases
@ -57,3 +57,4 @@ challenge () {
challenge one_process
challenge two_processes
challenge one_process_and_suspend