Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6474389

test/java/util/zip/ZipFile/ManyZipFiles.java should clean up after itself

XMLWordPrintable

    • b03
    • x86
    • windows_2000
    • Not verified

      The ManyZipFiles test creates "numFiles = 3000" .zip files to verify
      that 6423026 is fixed.

      It exits with a 'pass' or 'fail' but does not clean up the temporary .zip
      files generated during the test. On shared testing machines with nightly
      test runs the temp directory quickly fills up with dirt and spurious test
      failures start to creep in because of that.


      An example using one of our nightly test machines:

      (otto@roque) ~ $ ls -l /c/winnt/test9999*
      -rwx------+ 1 otto None 136 Jul 13 05:22 /c/winnt/test9999.zip
      -rwx------+ 1 otto None 136 Aug 21 05:23 /c/winnt/test99990.zip
      -rwx------+ 1 otto None 136 Aug 21 05:23 /c/winnt/test99991.zip
      -rwx------+ 1 otto None 136 Aug 21 05:23 /c/winnt/test99992.zip
      -rwx------+ 1 otto None 136 Aug 21 05:23 /c/winnt/test99993.zip
      -rwx------+ 1 otto None 136 Aug 21 05:23 /c/winnt/test99994.zip
      -rwx------+ 1 otto None 136 Aug 21 05:23 /c/winnt/test99995.zip
      -rwx------+ 1 otto None 136 Aug 21 05:23 /c/winnt/test99996.zip
      -rwx------+ 1 otto None 136 Aug 21 05:23 /c/winnt/test99997.zip
      -rwx------+ 1 otto None 136 Aug 21 05:23 /c/winnt/test99998.zip
      -rwx------+ 1 otto None 136 Aug 21 05:23 /c/winnt/test99999.zip

      (otto@roque) ~ $ ls -1 /c/winnt | wc -l
      147369

            bristor Dave Bristor (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: