summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2006-01-30 13:10:35 +0000
committerRoger Leigh <rleigh@debian.org>2006-01-30 13:10:35 +0000
commitaebad84c75f54ffd8aa248553690493b372560c6 (patch)
treeb1259f9be3764fc979988eccb1f104376bf9a906 /test
parentd32c759d29ccad532dcfb2253af951269375df32 (diff)
downloadschroot-aebad84c75f54ffd8aa248553690493b372560c6.tar.gz
* Version 0.2.0.release/schroot-0.2.0
* schroot/schroot.conf.5.in: Add example for file chroot. * test/config.ex2/config: Removed (duplicated in test/config.ex2/sarge). * test/config.ex2/file: New file. Test data for file chroots.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am2
-rw-r--r--test/config.ex2/config30
-rw-r--r--test/config.ex2/file8
3 files changed, 9 insertions, 31 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index f8dea71f..b4693f4a 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -81,7 +81,7 @@ sbuild_util_LDADD = libtest.la
EXTRA_DIST = \
keyfile.ex1 \
config.ex1 \
- config.ex2/config \
+ config.ex2/file \
config.ex2/empty \
config.ex2/experimental \
config.ex2/sarge \
diff --git a/test/config.ex2/config b/test/config.ex2/config
deleted file mode 100644
index e3596c2e..00000000
--- a/test/config.ex2/config
+++ /dev/null
@@ -1,30 +0,0 @@
-# schroot chroot definitions.
-# See schroot.conf(5) for complete documentation of the file format.
-#
-# Please take note that you should not add untrusted users to
-# root-groups, because they will essentially have full root access
-# to your system. They will only have root access inside the chroot,
-# but that's enough to cause malicious damage.
-#
-# The following lines are examples. Uncomment and alter them to
-# customise schroot for your needs.
-#
-#
-#[woody]
-#description=Debian woody (oldstable)
-#location=/home/woody-chroot
-#groups=sbuild
-#aliases=oldstable
-
-[sarge]
-description=Debian sarge (stable)
-location=/srv/chroot/sarge
-priority=2
-groups=sbuild
-root-groups=root,sbuild
-#root-groups=root
-aliases=stable
-run-setup-scripts=true
-run-session-scripts=true
-run-session-scripts=true
-
diff --git a/test/config.ex2/file b/test/config.ex2/file
new file mode 100644
index 00000000..d4a55ece
--- /dev/null
+++ b/test/config.ex2/file
@@ -0,0 +1,8 @@
+[sid-file]
+type=file
+description=Debian sid snapshot
+priority=3
+groups=sbuild,root
+file=/srv/chroots/sid.tar.gz
+run-setup-scripts=true
+run-session-scripts=true