diff options
author | Björn Gustavsson <[email protected]> | 2016-02-25 15:40:16 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-10 14:31:22 +0100 |
commit | 6588228827d92f4cb9883303f03abf84734947b0 (patch) | |
tree | f74e29127d6b62ebd325b5a067ca18214835dba3 /lib/kernel/test/disk_log_SUITE.erl | |
parent | 2d17815c831829af13899c23b320b884e790cf9b (diff) | |
download | otp-6588228827d92f4cb9883303f03abf84734947b0.tar.gz otp-6588228827d92f4cb9883303f03abf84734947b0.tar.bz2 otp-6588228827d92f4cb9883303f03abf84734947b0.zip |
Eliminate use test_server:format()
Replace with io:format/2 or ct:pal/3.
Diffstat (limited to 'lib/kernel/test/disk_log_SUITE.erl')
-rw-r--r-- | lib/kernel/test/disk_log_SUITE.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/kernel/test/disk_log_SUITE.erl b/lib/kernel/test/disk_log_SUITE.erl index 715cbd70d7..0c3b56a101 100644 --- a/lib/kernel/test/disk_log_SUITE.erl +++ b/lib/kernel/test/disk_log_SUITE.erl @@ -927,7 +927,7 @@ mk_bytes(N) when N > 4 -> end. get_list(File, Log) -> - ?t:format(0, "File ~p~n",[File]), + ct:pal(?HI_VERBOSITY, "File ~p~n", [File]), ok = disk_log:sync(Log), {ok, B} = file:read_file(File), binary_to_list(B). @@ -3497,7 +3497,6 @@ change_size_before(Conf) when is_list(Conf) -> ?line {ok,Log11_12} = file:read(Fd1, 200), ?line ok = file:close(Fd1), ?line {ok, Fd2} = file:open(File ++ ".2", [read]), -% ?t:format(0, "~p~n",[file:read(Fd2, 200)]), ?line Log21_22 = Log_2_1 ++ Log_2_2, ?line {ok,Log21_22} = file:read(Fd2, 200), ?line ok = file:close(Fd2), @@ -4959,7 +4958,7 @@ copy_wrap_log(FromName, ToName, N, FromDir, ToDir) -> -define(BUFSIZE, 8192). copy_file(Src, Dest) -> - % ?t:format("copying from ~p to ~p~n", [Src, Dest]), + % io:format("copying from ~p to ~p~n", [Src, Dest]), {ok, InFd} = file:open(Src, [raw, binary, read]), {ok, OutFd} = file:open(Dest, [raw, binary, write]), ok = copy_file1(InFd, OutFd), |