summaryrefslogtreecommitdiffstats
path: root/t/README
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:02:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:02:52 +0000
commitece8bb34ddf6576a9fa6b067ace0c7a0b7ba71b9 (patch)
treefe1d87c89f9a42d3dc526447a8d1982eb19bc97f /t/README
parentInitial commit. (diff)
downloadinit-system-helpers-upstream.tar.xz
init-system-helpers-upstream.zip
Adding upstream version 1.65.2.upstream/1.65.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/README')
-rw-r--r--t/README15
1 files changed, 15 insertions, 0 deletions
diff --git a/t/README b/t/README
new file mode 100644
index 0000000..eda327d
--- /dev/null
+++ b/t/README
@@ -0,0 +1,15 @@
+These test cases need the Linux::Clone module, which is not yet in Debian.
+See http://michael.stapelberg.de/cpan/#Linux::Clone on how to install it.
+
+Note that you need to run the test cases as root because they use Linux mount
+namespaces and bind mounts (requires Linux ≥ 2.4.19).
+
+Note that you should mark / as a private subtree before running these tests, or
+they will fail. Use mount --make-rprivate /. Unfortunately, the version of
+util-linux in Debian at the time of writing (2.20.1) is broken and its
+--make-rprivate does not actually work. See #731574.
+
+The intention is that the testcases are _not_ run automatically during package
+building because they might be too fragile and additional dependencies make it
+harder to port this package to Ubuntu or Debian backports. It is enough if the
+test cases are run on every code change.