[gvfs] tests: Disable smb usershare test if not in testbed



commit ebcc67f826d27c71776b06e3ddd629e0056dd9e0
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Oct 12 11:35:46 2012 +0200

    tests: Disable smb usershare test if not in testbed
    
    This relies on usershares being set up which might not be true.

 test/gvfs-test |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/test/gvfs-test b/test/gvfs-test
index 9d4d2ac..733347f 100755
--- a/test/gvfs-test
+++ b/test/gvfs-test
@@ -401,7 +401,7 @@ class Ftp(GvfsTestCase):
         finally:
             self.unmount(uri)
 
- unittest skipUnless(samba_running, 'smbd is not running')
+ unittest skipUnless(in_testbed, 'not running under gvfs-testbed')
 class Smb(GvfsTestCase):
 
     def setUp(self):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]