Bug 1964

Summary: test kernel behavior across an exec call
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Stan Cox <scox>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1586    

Description Andrew Cagney 2005-12-01 17:14:04 UTC
There are at least three senarios:

- a single threaded process does an exec

- a multi-threaded process has it's main thread do an exec

- a multi-threaded process has a non-main thread do an exec

need to add something to frysk-imports/tests/* to confirm the behavior of each
of the kernel in each of these cases.

Something really simple like, set up the senario, do the exec, passing the new
program the expected pid (obtained from gettid()), and then have that program
verify that getpid() matches.
Comment 1 Stan Cox 2005-12-21 15:24:04 UTC
Added:
frysk-imports/tests/process/multi_child_exec.c
frysk-imports/tests/process/multi_child_parent_exec.c
frysk-imports/tests/process/multi_parent_exec.c
frysk-imports/tests/process/single_exec.c
Comment 2 Stan Cox 2005-12-21 16:28:24 UTC
Tests now run in frysk-imports test harness