From f7b6235ca36a5fccd7e4c77df0d9052d3de5c554 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Mon, 19 Aug 2019 19:44:52 +0200 Subject: stdlib: Fix ets_SUITE:tabfile_ext4 on machines with long host names. Move forward the file location interval to corrupt. An ETS table file corrupted in the header may still be readable with table content unchanged and that will cause tabfile_ext4 to fail. The header length increase with long host names and added table options. --- lib/stdlib/test/ets_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stdlib/test/ets_SUITE.erl b/lib/stdlib/test/ets_SUITE.erl index 05893a92b0..b23cdf5900 100644 --- a/lib/stdlib/test/ets_SUITE.erl +++ b/lib/stdlib/test/ets_SUITE.erl @@ -4984,7 +4984,7 @@ tabfile_ext4(Config) when is_list(Config) -> {error,Y} = ets:file2tab(FName,[{verify,true}]), ets:tab2file(TL,FName,[{extended_info,[md5sum]}]), {X,Y} - end || N <- lists:seq(500,600)], + end || N <- lists:seq(700,800)], io:format("~p~n",[Res]), file:delete(FName) end), -- cgit v1.2.3