Added dead process test program
This commit is contained in:
parent
ca7be5d945
commit
a994e9a590
|
@ -0,0 +1,9 @@
|
|||
# Create a process in uninterruptible sleep state that forks a child process.
|
||||
# Killing child process will change childs's state to zombie.
|
||||
# Useful for WaitforTaskCompletion tests
|
||||
|
||||
int main() {
|
||||
vfork();
|
||||
sleep(180);
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue