diff options
author | Roger Leigh <rleigh@debian.org> | 2011-11-27 15:47:34 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2011-11-27 15:47:34 +0000 |
commit | 2deaef9edd90fca8acd8c06863f03d525ca082fa (patch) | |
tree | fbc6a4244e94481f4089a341954651e51b216edd /HACKING | |
parent | 617c40f20232d8e1c8c0d20d972bed13a296631e (diff) | |
download | schroot-2deaef9edd90fca8acd8c06863f03d525ca082fa.tar.gz |
Document directory fallbacks in manual pages
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 45 |
1 files changed, 2 insertions, 43 deletions
@@ -71,56 +71,15 @@ tests which must be run by hand: Chdir fallback behaviour: - schroot [login shell] - CWD → CWD Normal behaviour - CWD → $HOME If CWD nonexistent and -p used - CWD → passwd pw_dir If CWD nonexistent (or -p used and no $HOME exists) - CWD → / None of the above exist - *FAIL* If / nonexistent - - schroot [command] - CWD → CWD Normal behaviour - *FAIL* If CWD nonexistent - - No fallbacks should exist under any circumstances. - - schroot [--directory used] - CWD → DIR Normal behaviour - *FAIL* If DIR nonexistent - - No fallbacks should exist under any circumstances. - - dchroot [login shell or command] - CWD → passwd pw_dir Normal behaviour (not if -d used) - CWD → CWD If -d used - CWD → / If CWD nonexistent and -d used - *FAIL* If / nonexistent - - dchroot [--directory used] - CWD → DIR Normal behaviour - *FAIL* If DIR nonexistent - - No fallbacks should exist under any circumstances. - - dchroot-dsa [login shell or command] - CWD → passwd pw_dir Normal behaviour - CWD → / If no passwd_pw dir - *FAIL* If / nonexistent - - dchroot-dsa [--directory used] - CWD → DIR Normal behaviour - *FAIL* If DIR nonexistent - - No fallbacks should exist under any circumstances. + Fallback behaviour has been documented in the manual pages. 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 + schroot -v -c sid -- sh -c "trap '' INT; trap '' TERM; sleep 20 &" |