ExifTool Forum

ExifTool => Developers => Topic started by: obetz on July 25, 2019, 01:18:25 PM

Title: Selftests don't remove all tmp files
Post by: obetz on July 25, 2019, 01:18:25 PM
Hi Phil,

the selftests ton't remove CanonRaw_5.tmp, ExifTool_17.tmp and Olympus_7.tmp.

Is this by intention?

Oliver
Title: Re: Selftests don't remove all tmp files
Post by: Phil Harvey on July 25, 2019, 03:38:15 PM
Hi Oliver,

Wow, that's odd.  Somehow the "unlink" is failing in the testVerbose function of my t/TestLib.pm on your system.  It works for me.  What system are you using?

- Phil

Edit: I bet Windows.  I can see why this might fail on Windows because I forgot to close the file before unlink-ing it, and Windows limits manipulation of open files..  I'll fix that, thanks.
Title: Re: Selftests don't remove all tmp files
Post by: obetz on July 26, 2019, 01:29:14 PM
Interesting OS difference.

As you guessed, I found this with my routine tests of the Windows installer and ZIP package.