File: 0008-Skip-the-umockdev-test.patch

package info (click to toggle)
gvfs 1.57.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,516 kB
  • sloc: ansic: 105,895; python: 1,461; xml: 944; sh: 146; makefile: 54
file content (31 lines) | stat: -rw-r--r-- 1,140 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Sebastien Bacher <seb128@ubuntu.com>
Date: Mon, 19 Mar 2018 15:51:12 +0000
Subject: Skip the umockdev test

The trace is out of date & needs to be re-recorded by somebody who has
the hardware.

Origin: vendor, Ubuntu
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=794488
Bug: https://gitlab.gnome.org/GNOME/gvfs/-/issues/332
Forwarded: not-needed, workaround
---
 test/gvfs-test | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/gvfs-test b/test/gvfs-test
index ea5739c..196deec 100755
--- a/test/gvfs-test
+++ b/test/gvfs-test
@@ -1728,8 +1728,9 @@ class Trash(GvfsTestCase):
             self.assertTrue(os.path.exists(self.my_file))
 
 
-@unittest.skipUnless(have_umockdev,
-                     'umockdev not installed; get it from https://launchpad.net/umockdev')
+#@unittest.skipUnless(have_umockdev,
+#                     'umockdev not installed; get it from https://launchpad.net/umockdev')
+@unittest.skip("umockdev/ioctl recording is currently known to have issue and not to be reworked")
 class GPhoto(GvfsTestCase):
     def test_mount_api(self):
         '''gphoto2:// mount with Gio API'''