@@ -692,6 +692,15 @@ function _adjust_oom_score() {
}
_adjust_oom_score -500
+warn_deprecated_sessionid()
+{
+ if [ -z "$WARNED_DEPRECATED_SESSIONID" ]; then
+ echo "WARNING: Running fstests without private pid/mount namespace"
+ echo "support is deprecated and will be removed in February 2026."
+ WARNED_DEPRECATED_SESSIONID=1
+ fi
+}
+
# ...and make the tests themselves somewhat more attractive to it, so that if
# the system runs out of memory it'll be the test that gets killed and not the
# test framework. The test is run in a separate process without any of our
@@ -891,6 +900,8 @@ function run_section()
seqres="$check"
_check_test_fs
+ test -n "$HAVE_PRIVATENS" || warn_deprecated_sessionid
+
loop_status=() # track rerun-on-failure state
local tc_status ix
local -a _list=( $list )