tests: mark fadvise/drop as known failing on buildds
authorChris Hofstaedtler <zeha@debian.org>
Tue, 2 Apr 2024 19:52:47 +0000 (21:52 +0200)
committerChris Hofstaedtler <zeha@debian.org>
Sun, 23 Jun 2024 23:31:42 +0000 (01:31 +0200)
buildds build on a tmpfs, but this is not visible inside the build environment.

Gbp-Pq: Topic debian
Gbp-Pq: Name tests-mark-fadvise-drop-as-known-failing-on-buildds.patch

tests/ts/fadvise/drop

index 45dcb9110beabc891fd3506c855f38ce8d2a904f..c01e16c7d3175424bdbb8baa59a97065d8d7353d 100755 (executable)
@@ -6,6 +6,9 @@ TS_DESC="drop page caches related to a file"
 . "$TS_TOPDIR"/functions.sh
 ts_init "$*"
 
+# fails on Debian buildds, because the buildds use tmpfs hidden behind an unshare namespace.
+TS_KNOWN_FAIL="yes"
+
 ts_check_test_command "$TS_CMD_FADVISE"
 ts_check_test_command "$TS_CMD_FINCORE"
 ts_check_test_command "$TS_CMD_FINDMNT"