From: Karel Zak Date: Mon, 11 May 2026 09:36:42 +0000 (+0200) Subject: tests: (ipcs/limits) skip when /proc/sys/kernel is read-only X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=4b85ff08c8167975df0085d1e00a4b62459afd1e;p=thirdparty%2Futil-linux.git tests: (ipcs/limits) skip when /proc/sys/kernel is read-only The test writes to /proc/sys/kernel/shm* files which are read-only in CI containers. Skip the test when the kernel tunables are not writable. --- diff --git a/tests/ts/ipcs/limits b/tests/ts/ipcs/limits index a8dd75d85..cf40901b0 100755 --- a/tests/ts/ipcs/limits +++ b/tests/ts/ipcs/limits @@ -30,6 +30,8 @@ ts_check_prog "bc" . "$TS_SELF"/functions.sh +test -w /proc/sys/kernel/shmall || ts_skip "/proc/sys/kernel not writable" + ts_lock "ipcslimits" ts_log "load original values"