From: Sami Kerola Date: Wed, 6 Aug 2014 22:04:31 +0000 (+0100) Subject: tests: make ipcs limit calculations work when numbers are large X-Git-Tag: v2.26-rc1~531 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a9ec12d6664527fad9c56347c88f3447d6c0856;p=thirdparty%2Futil-linux.git tests: make ipcs limit calculations work when numbers are large Test suite failed when I ran it with kernel 3.16. Error is the following. tests/ts/ipcs/limits2: line 31: [: 18446744073692774399: integer expression expected Reference: http://lkml.iu.edu/hypermail/linux/kernel/1406.0/01869.html Signed-off-by: Sami Kerola --- diff --git a/tests/ts/ipcs/limits2 b/tests/ts/ipcs/limits2 index 23331985e6..1a49c46245 100755 --- a/tests/ts/ipcs/limits2 +++ b/tests/ts/ipcs/limits2 @@ -28,7 +28,8 @@ ts_check_prog "bc" . $TS_SELF/functions.sh # TODO https://github.com/karelzak/util-linux/issues/51 -if [ $(