From: Robert S. Edmonds Date: Fri, 9 Aug 2013 00:28:39 +0000 (-0400) Subject: tmetadata.py: skip test_handling_of_incorrect_existing_linux_xattrs() when running... X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=fd83862147ebe734c352b4eb9875361e53521fd1;p=packages%2Fb%2Fbup.git tmetadata.py: skip test_handling_of_incorrect_existing_linux_xattrs() when running under fakeroot it's not possible to do a loopback mount when running under fakeroot ("mount: only root can do that"). --- diff --git a/lib/bup/t/tmetadata.py b/lib/bup/t/tmetadata.py index 471cb2f..4e7884a 100644 --- a/lib/bup/t/tmetadata.py +++ b/lib/bup/t/tmetadata.py @@ -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()