DescriptionFix subtle flakiness from ZipTest.
UnzipEvil and UnzipEvil2 check that we don't extract files containing ..
in their file names. These tests failed if we had
"levilevilevilevilevilevilevilevilevilevilevilevil" and "evil.txt" in /tmp
on Linux, as we were checking the existence of these files from a temporary
directory like /tmp/.org.chromium.Chromium.aXW1Gx.
We should create a directory one level deeper to fix the subtle issue.
TEST=touch /tmp/levilevilevilevilevilevilevilevilevilevilevilevil /tmp/evil.txt; out/Release/unit_tests --gtest_filter=ZipTest.*
BUG=chromium-os:22351
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108195
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|