aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-09-02 13:27:41 +0200
committerBjörn Gustavsson <[email protected]>2011-09-03 08:29:21 +0200
commit12ebe3823b01be256b0834956bc2e117129b32e4 (patch)
tree2d61d77d8bbd4e3d97b06813590d41fb6bb25c58 /erts/test/Makefile
parent9f1e455017228e8f35d82e2fe1e3c5268c2e0aa3 (diff)
downloadotp-12ebe3823b01be256b0834956bc2e117129b32e4.tar.gz
otp-12ebe3823b01be256b0834956bc2e117129b32e4.tar.bz2
otp-12ebe3823b01be256b0834956bc2e117129b32e4.zip
erlc_SUITE: Fix arg_overflow/1 test case
In commit be8759e68b337524c056b8bb757ea68c9996d863, a buffer overflow was fixed in erlc and the erlc_SUITE:arg_overflow/1 test case was added. That test cases invokes erlc with 10000 -D options, which will result in 'erl' being invoked with more than 30000 arguments. On some platforms, the test case will fail for the wrong reason: * 64-bit Linux kernels before 2.6.23 limit the number of arguments in an excvp() call to 16383. (See "Number of arguments and maximum length of one argument" in http://www.in-ulm.de/~mascheck/various/argmax/.) * The command shell in Windows limits the size of the command line to 8191 characters. Depending on the platform, pass a different number of -D options to erlc. Since the size of the options does not matter for this test case, make the options as short as possible by generating numbers in base 36.
Diffstat (limited to 'erts/test/Makefile')
0 files changed, 0 insertions, 0 deletions