From d85d7e96d86d2a76efd855165e541b666c1058fb Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sat, 16 Mar 2013 13:17:36 -0500 Subject: [PATCH] tmetadata.py: skip test_apply_to_path_restricted_access() on Cygwin. Reported-by: Will Rouesnel Signed-off-by: Rob Browning --- lib/bup/t/tmetadata.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/bup/t/tmetadata.py b/lib/bup/t/tmetadata.py index c24ec09..c957e7d 100644 --- a/lib/bup/t/tmetadata.py +++ b/lib/bup/t/tmetadata.py @@ -179,6 +179,8 @@ def test_from_path_error(): def test_apply_to_path_restricted_access(): if is_superuser() or detect_fakeroot(): return + if 'CYGWIN' in platform.system(): + return # chmod 000 isn't effective. tmpdir = tempfile.mkdtemp(prefix='bup-tmetadata-') try: path = tmpdir + '/foo' -- 2.39.2