Commit 07fbf835 authored by Sakthipriyan Vairamani's avatar Sakthipriyan Vairamani Committed by Rod Vagg
Browse files

tools: open `test.tap` file in write-binary mode



By default the logfile is opened in append mode. This commit makes sure
that the file is opened in write-binary mode, so that the file will be
created if it doesn't exist or overwrite if it exists.

Fixes: #2834

PR-URL: #2837
Reviewed-By: default avatarJohan Bergström <bugs@bergstroem.nu>
Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarRod Vagg <rod@vagg.org>
Reviewed-By: default avatarAlexis Campailla <orangemocha@nodejs.org>
parent ed087836
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment