summaryrefslogtreecommitdiffstats
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/debian/tests-mark-fadvise-drop-as-known-failing-on-buildds.patch23
-rw-r--r--debian/patches/series1
2 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/debian/tests-mark-fadvise-drop-as-known-failing-on-buildds.patch b/debian/patches/debian/tests-mark-fadvise-drop-as-known-failing-on-buildds.patch
new file mode 100644
index 0000000..a876211
--- /dev/null
+++ b/debian/patches/debian/tests-mark-fadvise-drop-as-known-failing-on-buildds.patch
@@ -0,0 +1,23 @@
+From: Chris Hofstaedtler <zeha@debian.org>
+Date: Tue, 2 Apr 2024 21:52:47 +0200
+Subject: tests: mark fadvise/drop as known failing on buildds
+
+buildds build on a tmpfs, but this is not visible inside the build environment.
+---
+ tests/ts/fadvise/drop | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/tests/ts/fadvise/drop b/tests/ts/fadvise/drop
+index 45dcb91..044f33a 100755
+--- a/tests/ts/fadvise/drop
++++ b/tests/ts/fadvise/drop
+@@ -3,6 +3,9 @@
+ TS_TOPDIR="${0%/*}/../.."
+ TS_DESC="drop page caches related to a file"
+
++# fails on Debian buildds, because the buildds use tmpfs hidden behind an unshare namespace.
++TS_KNOWN_FAIL="yes"
++
+ . "$TS_TOPDIR"/functions.sh
+ ts_init "$*"
+
diff --git a/debian/patches/series b/debian/patches/series
index 5b35dd8..9fa3f16 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,5 +6,6 @@ debian/sensible-pager.patch
debian/tests-mark-lsfd-tests-failing-in-sbuild.patch
upstream/lsfd-add-LSFD_DEBUG-env-var-for-debugging.patch
upstream/tests-test_mkfds-sockdiag-verify-the-recived-message.patch
+debian/tests-mark-fadvise-drop-as-known-failing-on-buildds.patch
progress-linux/0001-agetty-prompt.patch
progress-linux/0002-login-prompt.patch