aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-03-01 11:29:07 +0100
committerSiri Hansen <[email protected]>2018-03-01 11:29:07 +0100
commit88c4c305636618af4002c8c484083668a88824e9 (patch)
treece3f23eb1620cc11b18146aa887fef18ad0d2b1a /lib/observer
parentaa4fcf9c40d6acc6db97c1eb5d1f32755bf19270 (diff)
parent6c03897a8aceab079c7169b01d9611e0708d4f9e (diff)
downloadotp-88c4c305636618af4002c8c484083668a88824e9.tar.gz
otp-88c4c305636618af4002c8c484083668a88824e9.tar.bz2
otp-88c4c305636618af4002c8c484083668a88824e9.zip
Merge branch 'maint'
Diffstat (limited to 'lib/observer')
-rw-r--r--lib/observer/test/crashdump_viewer_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/observer/test/crashdump_viewer_SUITE.erl b/lib/observer/test/crashdump_viewer_SUITE.erl
index 32773a779e..41ca3f3ce9 100644
--- a/lib/observer/test/crashdump_viewer_SUITE.erl
+++ b/lib/observer/test/crashdump_viewer_SUITE.erl
@@ -820,10 +820,10 @@ dump_with_size_limit_reached(DataDir,Rel,DumpName,Max) ->
"-env ERL_CRASH_DUMP_BYTES " ++
integer_to_list(Bytes)),
{ok,#file_info{size=Size}} = file:read_file_info(CD),
- if Size < Bytes ->
+ if Size =< Bytes ->
%% This means that the dump was actually smaller than the
%% randomly selected truncation size, so we'll just do it
- %% again with a smaller numer
+ %% again with a smaller number
ok = file:delete(CD),
dump_with_size_limit_reached(DataDir,Rel,DumpName,Size-3);
true ->