Minor quibbles

Move legacy CDB code used only in unit tests into test area.  Fix column
width in  pmem and comment out the unused case statement (in healthy
tests) from the penciller test code
This commit is contained in:
martinsumner 2016-11-03 16:46:25 +00:00
parent 37e20ccdfe
commit f41c788bff
3 changed files with 64 additions and 58 deletions

View file

@ -1260,10 +1260,9 @@ clean_subdir(DirPath) ->
{ok, Files} = file:list_dir(DirPath),
lists:foreach(fun(FN) ->
File = filename:join(DirPath, FN),
case file:delete(File) of
ok -> io:format("Success deleting ~s~n", [File]);
_ -> io:format("Error deleting ~s~n", [File])
end end,
ok = file:delete(File),
io:format("Success deleting ~s~n", [File])
end,
Files);
false ->
ok