diff options
author | Roger Leigh <rleigh@debian.org> | 2007-05-28 20:48:54 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2007-05-28 20:48:54 +0000 |
commit | 6c9a70b783a5b2068d880e9fede7b14d26f9ffb1 (patch) | |
tree | 05f87f91b1187d1824c9b002d6a9cf7e3fa6efba /HACKING | |
parent | e5420be40ae6c0a16f030eb3bb150407cf024d61 (diff) | |
download | schroot-6c9a70b783a5b2068d880e9fede7b14d26f9ffb1.tar.gz |
* HACKING: Document tests for process termination.
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -86,7 +86,7 @@ Chdir fallback behaviour: schroot [--directory used] CWD → DIR Normal behaviour - *FAIL* If CWD nonexistent + *FAIL* If DIR nonexistent No fallbacks should exist under any circumstances. @@ -98,7 +98,7 @@ Chdir fallback behaviour: dchroot [--directory used] CWD → DIR Normal behaviour - *FAIL* If CWD nonexistent + *FAIL* If DIR nonexistent No fallbacks should exist under any circumstances. @@ -109,9 +109,18 @@ Chdir fallback behaviour: dchroot-dsa [--directory used] CWD → DIR Normal behaviour - *FAIL* If CWD nonexistent + *FAIL* If DIR nonexistent No fallbacks should exist under any circumstances. Note that --debug=notice will show the internal fallback list computed for the session. + + +Setup script behaviour: + + To check if process termination works: + schroot -v -c sid -- sh -c "trap '' INT; trap '' TERM; sleep 2 &" + + To check if process killing works: + schroot -v -c sid -- sh -c "trap '' INT; trap '' TERM; sleep 20 &"
\ No newline at end of file |