summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2006-07-14 17:22:13 +0000
committerRoger Leigh <rleigh@debian.org>2006-07-14 17:22:13 +0000
commit43e00716d98f586a8b46e76a6704c8ad5bb368c7 (patch)
treed392fc5ae5ec89e9342b82fee9ab1244039abb45 /HACKING
parent1cf66ca699e02a1ed1cd148fa765be27f4c3d438 (diff)
downloadschroot-43e00716d98f586a8b46e76a6704c8ad5bb368c7.tar.gz
* HACKING: Document manual chroot fallback testing.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING35
1 files changed, 35 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index a07755a5..34cfe9a8 100644
--- a/HACKING
+++ b/HACKING
@@ -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.