aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-09-05 17:07:40 +0200
committerLukas Larsson <[email protected]>2016-09-05 17:07:40 +0200
commitc26f34c7c8940de2ade904d86e581f2c7463549f (patch)
tree8c5518670570c03b9b63693acc5ae710c112564d
parentd2ad195b2ad0287105667e065f9dbaa15027bc60 (diff)
parent1ecf5e62d59624cad7e095d46243ec149cb1fcbc (diff)
downloadotp-c26f34c7c8940de2ade904d86e581f2c7463549f.tar.gz
otp-c26f34c7c8940de2ade904d86e581f2c7463549f.tar.bz2
otp-c26f34c7c8940de2ade904d86e581f2c7463549f.zip
Merge branch 'lukas/kernel/fix_os_SUITE_message_leak_testcase/OTP-13867' into maint
* lukas/kernel/fix_os_SUITE_message_leak_testcase/OTP-13867: kernerl: Remove infinite loop from testcase
-rw-r--r--lib/kernel/test/os_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/test/os_SUITE.erl b/lib/kernel/test/os_SUITE.erl
index 19ab3713a1..5b6e0ab223 100644
--- a/lib/kernel/test/os_SUITE.erl
+++ b/lib/kernel/test/os_SUITE.erl
@@ -294,7 +294,7 @@ message_leak(_Config) ->
case os:type() of
{unix, _} ->
- os:cmd("while true; do echo hello; done&"),
+ os:cmd("for i in $(seq 1 100); do echo hello; done&"),
[] = receive_all();
_ ->
ok % Cannot background on non-unix