Issue Bug Closed

#85502Test with local driver produces error on windows because file name ends with a dot (and no extension)

Jigal van Hemert 07/06/18, 19:10 updated 10/02/18, 10:25

Description

Test filesCanBeCopiedToATemporaryPath specified a file name without an extension but AbstractDriver::getTemporaryPathForFile() tried to add the extension to the name. If you try to create a file with a name ending with a dot Windows will usually strip off the dot.
The copy operation somehow fails and then the touch() after that produces an error that the file can’t be accessed.

The easy solution is to specify an extension in the name.

Reviews 2