mirror of https://github.com/01-edu/public.git
feat(job-regist): add new test case
This commit is contained in:
parent
81cd3cbd11
commit
0d9bc4b654
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue