Skip to content
Snippets Groups Projects
Commit 6d188576 authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

fio: fix fio.rmtree not removing invalid symbolic link

fio.rmtree should use lstat instead of stat, otherwise it won't be
able to remove a directory if there's a symbolic link pointing to a
non-existent file.

The test case will be added to app/fio.test.lua by the following commit,
which is aimed at cleaning up /tmp directory after running tests.
parent 144c58b3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment