When testing util-linux-2.25, I was suprised to get a test failure.
Running it down, I found tests/ts/ipcs/limits2 is doing:
if [ $(</proc/sys/kernel/shmall) -ge $(bc <<<"2^64 / $PAGE_SIZE") ];
The problem is that starting with the 3.16 kernel the shmall value is
18446744073692774399 which is the max value of an unsigned long on a
64-bit system (UINT64_MAX). Bash doesn't like this value and says:
"18446744073692774399: integer expression expected"
I can work around this by setting shmall before running the test, but
there is a problem with either the test or in the kernel.
I note that the kernel's shmmax value is also set to UINT64_MAX.
What's the best way to approach this?
-- Bruce Dubbs
linuxfromscratch.org
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html