[Pkg-owncloud-commits] [owncloud-client] 01/02: Ignore the right tests on FreeBSD

Sandro Knauß hefee-guest at moszumanska.debian.org
Sun Aug 3 21:53:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 4e02dbf97a46c875d67bf4a86063178f72bc8165
Author: Sandro Knauß <bugs at sandroknauss.de>
Date:   Sun Aug 3 22:16:26 2014 +0200

    Ignore the right tests on FreeBSD
    
    Git-Dch: ignore
---
 debian/patches/0003-skip_tests_freebsd.patch | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/debian/patches/0003-skip_tests_freebsd.patch b/debian/patches/0003-skip_tests_freebsd.patch
index 6047470..c4824b8 100644
--- a/debian/patches/0003-skip_tests_freebsd.patch
+++ b/debian/patches/0003-skip_tests_freebsd.patch
@@ -8,18 +8,18 @@ Last-Update: 2014-07-29
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 Index: owncloud-client/test/testfolderwatcher.h
 ===================================================================
---- owncloud-client.orig/test/testfolderwatcher.h	2014-07-29 17:18:14.000000000 +0200
-+++ owncloud-client/test/testfolderwatcher.h	2014-07-30 20:40:42.406105523 +0200
-@@ -60,6 +60,9 @@
+--- owncloud-client.orig/test/testfolderwatcher.h	2014-08-03 22:14:05.610104237 +0200
++++ owncloud-client/test/testfolderwatcher.h	2014-08-03 22:15:59.697870019 +0200
+@@ -82,6 +82,9 @@
      }
  
-     void testACreate() { // create a new file
+     void testCreateADir() {
 +        #if defined(Q_OS_FREEBSD_KERNEL)
 +        QSKIP("Test fails on BSD", QTest::SkipSingle);
 +        #endif
-         QString cmd;
-         _checkMark = _root;
-         cmd = QString("echo \"xyz\" > %1/foo.txt").arg(_root);
+         _checkMark = _root+"/a1/b1";
+         QDir dir;
+         dir.mkdir( _root + "/a1/b1/new_dir");
 @@ -91,6 +94,9 @@
      }
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list