From: Rob Browning Date: Sat, 16 Mar 2013 18:17:36 +0000 (-0500) Subject: tmetadata.py: skip test_apply_to_path_restricted_access() on Cygwin. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d85d7e96d86d2a76efd855165e541b666c1058fb;p=packages%2Fb%2Fbup.git tmetadata.py: skip test_apply_to_path_restricted_access() on Cygwin. Reported-by: Will Rouesnel Signed-off-by: Rob Browning --- 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'