Xu Cheng d3fce64efb
cleanup: fix removing lock files on NFS
If the underneath file system is a Network File System,
`brew cleanup` will fail to remove the lock files with following error
message:

Error: Bad file descriptor @ rb_file_flock - /path/to/the/lock_file

This commit fixes such issue and adds the corresponding test case.
2018-03-14 21:50:53 +08:00
..
2018-02-14 07:57:04 +10:00
2018-03-08 14:10:02 +00:00
2017-10-18 14:39:09 +02:00
2018-03-08 14:10:02 +00:00
2018-03-08 14:10:02 +00:00
2018-02-19 09:54:36 +00:00
2017-10-18 14:39:09 +02:00
2017-10-18 14:39:09 +02:00
2018-02-13 09:34:25 +00:00
2018-03-08 14:10:02 +00:00
2017-10-18 14:39:09 +02:00
2017-09-29 11:41:23 +02:00
2017-10-18 14:39:09 +02:00
2017-10-18 14:39:09 +02:00
2017-10-18 14:39:09 +02:00
2017-10-24 19:39:40 +02:00
2017-10-29 14:44:43 +00:00
2017-10-18 14:39:09 +02:00