changeset 30448 | 8836f13e3c5b |
parent 28916 | 3b453513f1fe |
child 30559 | d83ca854fa21 |
--- a/tests/test-symlink-os-yes-fs-no.py Thu Nov 17 12:59:36 2016 +0100 +++ b/tests/test-symlink-os-yes-fs-no.py Wed Jan 14 01:15:26 2015 +0100 @@ -35,6 +35,9 @@ def symlink_failure(src, dst): raise OSError(1, "Operation not permitted") os.symlink = symlink_failure +def islink_failure(path): + return False +os.path.islink = islink_failure # dereference links as if a Samba server has exported this to a # Windows client