aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-03-31 18:17:52 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-03-31 18:17:52 +0200
commit370d89b57c3a5ec1c6c86ab2ebabc129975c5913 (patch)
treedf37efe9d3ef13c6d8c15db40b596262ef569a68
parente2c50c9bb8189a3033ea0d8fd546eda6e42523c2 (diff)
downloadotp-370d89b57c3a5ec1c6c86ab2ebabc129975c5913.tar.gz
otp-370d89b57c3a5ec1c6c86ab2ebabc129975c5913.tar.bz2
otp-370d89b57c3a5ec1c6c86ab2ebabc129975c5913.zip
Log additional test information in prim_file_SUITE
-rw-r--r--lib/kernel/test/prim_file_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/kernel/test/prim_file_SUITE.erl b/lib/kernel/test/prim_file_SUITE.erl
index 294fa099ce..d950f3cfb4 100644
--- a/lib/kernel/test/prim_file_SUITE.erl
+++ b/lib/kernel/test/prim_file_SUITE.erl
@@ -1086,7 +1086,9 @@ file_write_read_file_info_opts(Handle, Name, Mtime, Opts) ->
{ok, FI} = ?PRIM_FILE_call(read_file_info, Handle, [Name, Opts]),
FI2 = FI#file_info{ mtime = Mtime },
ok = ?PRIM_FILE_call(write_file_info, Handle, [Name, FI2, Opts]),
- {ok, FI2} = ?PRIM_FILE_call(read_file_info, Handle, [Name, Opts]),
+ {ok, FI3} = ?PRIM_FILE_call(read_file_info, Handle, [Name, Opts]),
+ io:format("Expecting mtime = ~p, got ~p~n", [FI2#file_info.mtime, FI3#file_info.mtime]),
+ FI2 = FI3,
ok.