]> arthur.barton.de Git - bup.git/commitdiff
tmetadata.py: skip test_apply_to_path_restricted_access() on Cygwin.
authorRob Browning <rlb@defaultvalue.org>
Sat, 16 Mar 2013 18:17:36 +0000 (13:17 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 16 Mar 2013 18:18:36 +0000 (13:18 -0500)
Reported-by: Will Rouesnel <w.rouesnel@gmail.com>
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/t/tmetadata.py

index c24ec09ad065172f5832ba96d04de2b23a279424..c957e7d2f3c9ace5147ab1236c4406bbcdfa4340 100644 (file)
@@ -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'