HomePhorge

(#14600) Fix cleanup of tempfiles in file_spec
0d5a46ad63b3Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#14600) Fix cleanup of tempfiles in file_spec

The file integration test uses temporary files that will be removed
after each test. A few tests however use the backup functionality of the
file resource type and these backups were not removed.

Create a temporary directory where the dummyfile is placed. This way the
spec helper will remove the whole directory after each test including
every backup of the dummyfile that might have been created during the
testrun.

Details

Event Timeline

Stefan Schulte <stefan.schulte@taunusstein.net> committed rPU0d5a46ad63b3: (#14600) Fix cleanup of tempfiles in file_spec (authored by Stefan Schulte <stefan.schulte@taunusstein.net>).Jun 20 2012, 6:26 PM