aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-10-16 15:12:06 +0200
committerBjörn Gustavsson <[email protected]>2017-11-21 12:45:38 +0100
commit3b964e8dbaa0cd73ca7a983b3ce948e0dbd2c35c (patch)
tree3cf091c1710c97d7b730a10a726618acc4e51c62 /lib/observer/test
parent892dd54fa032de737defbee22534117b1c261c60 (diff)
downloadotp-3b964e8dbaa0cd73ca7a983b3ce948e0dbd2c35c.tar.gz
otp-3b964e8dbaa0cd73ca7a983b3ce948e0dbd2c35c.tar.bz2
otp-3b964e8dbaa0cd73ca7a983b3ce948e0dbd2c35c.zip
Use base64 encoding in crash dumps
This will reduce the size of crash dumps, especially if there are large binaries.
Diffstat (limited to 'lib/observer/test')
-rw-r--r--lib/observer/test/crashdump_viewer_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/test/crashdump_viewer_SUITE.erl b/lib/observer/test/crashdump_viewer_SUITE.erl
index b2777aed46..9fbd1a62a4 100644
--- a/lib/observer/test/crashdump_viewer_SUITE.erl
+++ b/lib/observer/test/crashdump_viewer_SUITE.erl
@@ -674,7 +674,7 @@ truncate_dump(File) ->
end,
%% Split after "our binary" created by crashdump_helper
%% (it may not be the first binary).
- RE = <<"\n=binary:(?=[0-9A-Z]+",NewLine/binary,"FF:010203)">>,
+ RE = <<"\n=binary:(?=[0-9A-Z]+",NewLine/binary,"FF:AQID)">>,
[StartBin,AfterTag] = re:split(Bin,RE,[{parts,2}]),
[AddrAndSize,BinaryAndRest] = binary:split(AfterTag,Colon),
[Binary,_Rest] = binary:split(BinaryAndRest,NewLine),