aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/os_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-08-31 11:21:17 +0200
committerLukas Larsson <[email protected]>2016-08-31 11:21:17 +0200
commit1ecf5e62d59624cad7e095d46243ec149cb1fcbc (patch)
tree76b1a90b11e2ad9aa253243aa0c8c28d5aa8db32 /lib/kernel/test/os_SUITE.erl
parentbba0f5924fa9478d41903331a3285f117c112731 (diff)
downloadotp-1ecf5e62d59624cad7e095d46243ec149cb1fcbc.tar.gz
otp-1ecf5e62d59624cad7e095d46243ec149cb1fcbc.tar.bz2
otp-1ecf5e62d59624cad7e095d46243ec149cb1fcbc.zip
kernerl: Remove infinite loop from testcase
We don't want the infinite loop as it leaks after the test finished.
Diffstat (limited to 'lib/kernel/test/os_SUITE.erl')
-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