integration-test: Fix Polkit.test_internal_fs_nobody test case
authorMartin Pitt <martinpitt@gnome.org>
Wed, 13 Jun 2012 13:33:36 +0000 (15:33 +0200)
committerMartin Pitt <martinpitt@gnome.org>
Wed, 13 Jun 2012 13:35:00 +0000 (15:35 +0200)
Do not call tools/udisksctl libtool wrapper as nobody, call the actual ELF
binary in tools/.libs. Otherwise libtool cannot write its temporary file as
user nobody.

src/tests/integration-test

index 4c77b94..dd9f62e 100755 (executable)
@@ -103,7 +103,7 @@ class UDisksTestCase(unittest.TestCase):
         # run from local build tree if we are in one, otherwise use system instance
         daemon_path = os.path.join(srcdir, 'src', 'udisksd')
         if (os.access (daemon_path, os.X_OK)):
-            klass.tool_path = 'tools/udisksctl'
+            klass.tool_path = 'tools/.libs/udisksctl'
             print('Testing binaries from local build tree')
             klass.check_build_tree_config()
         else: