diff options
author | Siri Hansen <[email protected]> | 2018-03-01 11:26:35 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-03-01 11:26:35 +0100 |
commit | 6c03897a8aceab079c7169b01d9611e0708d4f9e (patch) | |
tree | 82b321286aaf899852480723b4af878fcb2e3b6d /lib/observer/test | |
parent | 9fe3d672c9c1f61ae648dcdbc9452a8bd3368ce5 (diff) | |
parent | a7dc97fe7652d1d011d7e36b56c9fde44ffb6c87 (diff) | |
download | otp-6c03897a8aceab079c7169b01d9611e0708d4f9e.tar.gz otp-6c03897a8aceab079c7169b01d9611e0708d4f9e.tar.bz2 otp-6c03897a8aceab079c7169b01d9611e0708d4f9e.zip |
Merge branch 'siri/cuddle' into maint
* siri/cuddle:
[cdv] Fix test of size limit reached on crash dump, again
Diffstat (limited to 'lib/observer/test')
-rw-r--r-- | lib/observer/test/crashdump_viewer_SUITE.erl | 4 |
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 -> |