Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi committed Oct 18, 2024
2 parents adad965 + 2f9fdcd commit 1e2e090
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions lib/stdlib/test/zip_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1456,10 +1456,7 @@ basic_timestamp(Config) ->
{ok, ["testfile.txt"]},
unzip(Config, Archive, [{cwd,ExtractDir}])),

{ok, UnzipFI = #file_info{ atime = UnZAtime,
mtime = UnZMtime,
ctime = UnZCtime
}} =
{ok, UnzipFI } =
file:read_file_info(filename:join(ExtractDir, "testfile.txt"),[raw]),


Expand Down Expand Up @@ -1511,17 +1508,14 @@ extended_timestamp(Config) ->
{ok, ["testfile.txt"]},
unzip(Config, Archive, [{cwd,ExtractDir}])),

{ok, UnzipFI = #file_info{ atime = UnZAtime,
mtime = UnZMtime,
ctime = UnZCtime
}} =
{ok, UnzipFI } =
file:read_file_info(filename:join(ExtractDir, "testfile.txt"),[raw]),

ct:log("extract: ~p",[UnzipFI]),

UnzipMode = un_z64(get_value(unzip, Config)),

assert_time(UnzipMode, UnzipFI, ZMtime ),
assert_timestamp(UnzipMode, UnzipFI, ZMtime ),

ok.

Expand Down

0 comments on commit 1e2e090

Please sign in to comment.