From fd83862147ebe734c352b4eb9875361e53521fd1 Mon Sep 17 00:00:00 2001 From: "Robert S. Edmonds" Date: Thu, 8 Aug 2013 20:28:39 -0400 Subject: [PATCH] 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"). --- lib/bup/t/tmetadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5