Imported Upstream version 4.5.14
[platform/upstream/findutils.git] / xargs / testsuite / xargs.posix / arg_max_32bit_linux_bug.exp
1 #
2 # See message from Jim Meyering. <87hdaam57n.fsf_-_@rho.meyering.net>
3 #
4 # This is because Linux's execve implementation requires that the sum of
5 # the sizes of all argument string pointers not exceed 128K (the actual
6 # limit is ARG_MAX - sizeof (void*)).  The difference between 32- and
7 # 64-bit systems is because sizeof (void*) differs (4 vs. 8).
8 #
9 # Tue Nov 22 19:36:49 2005: Use 'true' rather than 'echo', otherwise the
10 # differences in the value of ARG_MAX on various platforms will cause the
11 # test to fail.
12 xargs_start p { true } 32767-ys.xi