aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/ch.erl
diff options
context:
space:
mode:
authorAleksandr Vinokurov <[email protected]>2012-11-08 13:59:12 +0400
committerFredrik Gustafsson <[email protected]>2013-04-30 11:12:24 +0200
commit851f61719985651e769f8df8246d5ddb855cc022 (patch)
tree2b678fe413655fe08b17ca60874793f27af93f9c /lib/kernel/test/ch.erl
parentd93043ca0839e659abada62b0c6cf4d441808acf (diff)
downloadotp-851f61719985651e769f8df8246d5ddb855cc022.tar.gz
otp-851f61719985651e769f8df8246d5ddb855cc022.tar.bz2
otp-851f61719985651e769f8df8246d5ddb855cc022.zip
Fix deep list argument error under Windows in os:cmd/1
Because of leeway in implementing os:cmd/1 under different OS there is a difference in results when calling it with deep list argument. os:cmd/1 specifies io_lib:chars() type for its argument and io_lib functions can produce deep lists inspite of io_lib:chars() result type specification. This commit flattens the argument for erlang:open_port/2 (which is used under Windows) and expands the os_SUITE to regress the bug.
Diffstat (limited to 'lib/kernel/test/ch.erl')
0 files changed, 0 insertions, 0 deletions