Closed zpuskas closed 2 years ago
>>> python -m unittest discover -v
...
test_trash_empty_will_skip_unreadable_dir (tests.test_trash_empty.TestTrashEmptyCmd) ... Would empty the following trash directories:
- /tmp/tmpb55wh2os/data/Trash
- /tmp/tmpb55wh2os/data/Trash/files/unreadable/.Trash-123
Proceed? (y/n) y
...
----------------------------------------------------------------------
Ran 280 tests in 67.236s
OK
>>> ll /tmp/tmpb55wh2os/data/Trash/files
total 0
drwxr-xr-x 3 <user> <user> 60 Dec 4 13:04 .
drwxr-xr-x 3 <user> <user> 60 Dec 4 13:04 ..
d-wx------ 2 <user> <user> 40 Dec 4 13:04 unreadable
Good, thank you. cherry-picked
This patch fixes two issues with the current test:
Bug: GH-217