]> git.michaelhowe.org Git - packages/b/bup.git/commitdiff
tmetadata.py: skip test_handling_of_incorrect_existing_linux_xattrs() when running...
authorRobert S. Edmonds <edmonds@debian.org>
Fri, 9 Aug 2013 00:28:39 +0000 (20:28 -0400)
committerRobert S. Edmonds <edmonds@debian.org>
Fri, 9 Aug 2013 00:28:39 +0000 (20:28 -0400)
it's not possible to do a loopback mount when running under fakeroot
("mount: only root can do that").

lib/bup/t/tmetadata.py

index 471cb2f4c8d3b43deef45f2e4566b278af18b7f8..4e7884a808f167244629b1f10ed19a8bad962012 100644 (file)
@@ -244,7 +244,7 @@ from bup.metadata import xattr
 if xattr:
     @wvtest
     def test_handling_of_incorrect_existing_linux_xattrs():
-        if not is_superuser():
+        if not is_superuser() or detect_fakeroot():
             WVMSG('skipping test -- not superuser')
             return
         setup_testfs()