diff options
author | Siri Hansen <[email protected]> | 2018-06-08 14:17:44 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2018-06-08 14:37:55 +0200 |
commit | a1c498df4b4ee20172def79c469e6fd8dd41e841 (patch) | |
tree | fadf51d5e35d2e2a46b07e7e9b2d7ecb7eff08ce /lib/kernel/test/logger_test_lib.erl | |
parent | cabbb94eab4d94f3c924f8854e3f030d7ceca9cc (diff) | |
download | otp-a1c498df4b4ee20172def79c469e6fd8dd41e841.tar.gz otp-a1c498df4b4ee20172def79c469e6fd8dd41e841.tar.bz2 otp-a1c498df4b4ee20172def79c469e6fd8dd41e841.zip |
[logger] Change names of sync functions in built-in handlers
logger_std_h:filesync/1 -----> logger_std_h:sync/1
logger_disk_log_h:disk_log_sync/1 -----> logger_disk_log_h:sync/1
Diffstat (limited to 'lib/kernel/test/logger_test_lib.erl')
-rw-r--r-- | lib/kernel/test/logger_test_lib.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/test/logger_test_lib.erl b/lib/kernel/test/logger_test_lib.erl index 4ac05e6480..5ad6336925 100644 --- a/lib/kernel/test/logger_test_lib.erl +++ b/lib/kernel/test/logger_test_lib.erl @@ -52,10 +52,10 @@ log(Node, M, F, A) -> rpc:call(Node, M, F, A ++ [MD]). sync_and_read(Node,disk_log,Log) -> - rpc:call(Node,logger_disk_log_h,disk_log_sync,[?STANDARD_HANDLER]), + rpc:call(Node,logger_disk_log_h,sync,[?STANDARD_HANDLER]), file:read_file(Log ++ ".1"); sync_and_read(Node, file,Log) -> - ok = rpc:call(Node,logger_std_h,filesync,[?STANDARD_HANDLER]), + ok = rpc:call(Node,logger_std_h,sync,[?STANDARD_HANDLER]), file:read_file(Log). |