]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: ipcs/limits2 is known to fail
authorRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 13 May 2014 10:10:17 +0000 (12:10 +0200)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 13 May 2014 18:11:21 +0000 (20:11 +0200)
See github issue #51, comment 2
https://github.com/karelzak/util-linux/issues/51

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
tests/ts/ipcs/limits2

index 7a7549aa3af3d8051369b4a7ad714e3978fb0e52..ea90174b94f908e96a8278d4101b9c95da76c5c8 100755 (executable)
@@ -28,6 +28,11 @@ type bc >/dev/null 2>&1 || ts_skip "cannot find bc command"
 
 . $TS_SELF/functions.sh
 
+# TODO https://github.com/karelzak/util-linux/issues/51
+if [ $(</proc/sys/kernel/shmall) -ge $(bc <<<"2^64 / $PAGE_SIZE") ]; then
+       TS_KNOWN_FAIL="yes"
+fi
+
 ts_log "check for difference between kernel and IPC"
 ipcs_limits_check >> $TS_OUTPUT