diff options
author | Roger Leigh <rleigh@debian.org> | 2006-07-14 17:22:13 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2006-07-14 17:22:13 +0000 |
commit | 43e00716d98f586a8b46e76a6704c8ad5bb368c7 (patch) | |
tree | d392fc5ae5ec89e9342b82fee9ab1244039abb45 /HACKING | |
parent | 1cf66ca699e02a1ed1cd148fa765be27f4c3d438 (diff) | |
download | schroot-43e00716d98f586a8b46e76a6704c8ad5bb368c7.tar.gz |
* HACKING: Document manual chroot fallback testing.
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 35 |
1 files changed, 35 insertions, 0 deletions
@@ -49,3 +49,38 @@ The following styles are used These are transformed into proper UTF-8 quotes with gettext. + +Releasing +--------- + +The code must pass the testsuite (make check). It must also pass some +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. + + dchroot + 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-dsa + CWD → passwd_pw dir Normal behaviour + CWD → / If no passwd_pw dir + *FAIL* If / nonexistent + + Note that --debug=notice will show the internal fallback list + computed for the session. |