DescriptionFix chrome/test/data/safe_browsing/dmg/generate_test_data.sh to not silently fail.
generate_test_data.sh uses `hdiutil create` and `hdiutil convert`. The former
can overwrite an existing output file, but the latter cannot. This led to the
following error:
hdiutil: convert failed - File exists
But this message was getting swallowed because the script 1) did not do `set -e`
to stop on errors, and 2) redirect all output to /dev/null. This also fixes both
of those issues.
BUG=696529
R=thakis@chromium.org
Review-Url: https://codereview.chromium.org/2748453002
Cr-Commit-Position: refs/heads/master@{#456141}
Committed: https://chromium.googlesource.com/chromium/src/+/5fe29f761d6791d746bd7e058d6f3d79227cc117
Patch Set 1 #
Messages
Total messages: 11 (7 generated)
|