summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2007-05-28 20:48:54 +0000
committerRoger Leigh <rleigh@debian.org>2007-05-28 20:48:54 +0000
commit6c9a70b783a5b2068d880e9fede7b14d26f9ffb1 (patch)
tree05f87f91b1187d1824c9b002d6a9cf7e3fa6efba /HACKING
parente5420be40ae6c0a16f030eb3bb150407cf024d61 (diff)
downloadschroot-6c9a70b783a5b2068d880e9fede7b14d26f9ffb1.tar.gz
* HACKING: Document tests for process termination.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING15
1 files changed, 12 insertions, 3 deletions
diff --git a/HACKING b/HACKING
index 28c1da13..7d51ae0a 100644
--- a/HACKING
+++ b/HACKING
@@ -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