summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-10 02:43:22 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-10 02:43:22 +0000
commitaf5a0c6947b3ee5e621bf473ea75dbe2a9258cb3 (patch)
treed70768cc69fdc79271d020628e78dd9dcba06f4c
parent5b8f708fec9d1a35f6c48879459d35c763bb95a3 (diff)
downloadchromium_src-af5a0c6947b3ee5e621bf473ea75dbe2a9258cb3.zip
chromium_src-af5a0c6947b3ee5e621bf473ea75dbe2a9258cb3.tar.gz
chromium_src-af5a0c6947b3ee5e621bf473ea75dbe2a9258cb3.tar.bz2
All temporary files created by downloads.py should be deleted
This is so that the bot does not run out of disk space BUG=None TEST=None R=rdsmith@chromium.org Review URL: http://codereview.chromium.org/8510035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109370 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/functional/downloads.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/test/functional/downloads.py b/chrome/test/functional/downloads.py
index f0c1758..6ae0bcf 100644
--- a/chrome/test/functional/downloads.py
+++ b/chrome/test/functional/downloads.py
@@ -92,6 +92,7 @@ class DownloadsTest(pyauto.PyUITest):
os.write(fd, 'a')
os.close(fd)
logging.debug('Created temporary file %s of size %d' % (file_path, size))
+ self._DeleteAfterShutdown(file_path)
return file_path
def _GetAllDownloadIDs(self):