[med-svn] [libsis-base-java] 01/07: Skip non-functional test

Andreas Tille tille at debian.org
Mon Jan 15 08:16:29 UTC 2018


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

tille pushed a commit to branch master
in repository libsis-base-java.

commit 4e4a025e38f9507efec9ad26a261e676b82cb979
Author: Andreas Tille <tille at debian.org>
Date:   Mon Jan 15 08:02:27 2018 +0100

    Skip non-functional test
---
 debian/changelog                                   |  4 ++-
 debian/patches/series                              |  1 +
 debian/patches/skip_testGetLinkInfoDirectory.patch | 29 ++++++++++++++++++++++
 3 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a948a05..5ec2743 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,10 @@ libsis-base-java (14.12.0-5) UNRELEASED; urgency=medium
 
   * d/watch: Enable parsing verisoned dirs
   * E-mail address as upstream contact
+  * Skip non-functional test
+    Closes: #885962
 
- -- Andreas Tille <tille at debian.org>  Wed, 06 Sep 2017 12:45:14 +0200
+ -- Andreas Tille <tille at debian.org>  Mon, 15 Jan 2018 07:58:49 +0100
 
 libsis-base-java (14.12.0-4) unstable; urgency=medium
 
diff --git a/debian/patches/series b/debian/patches/series
index 0f16c71..f118b0c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 remove_ch_rinn_imports.patch
 load_native_debian.patch
 fix_tests.patch
+skip_testGetLinkInfoDirectory.patch
diff --git a/debian/patches/skip_testGetLinkInfoDirectory.patch b/debian/patches/skip_testGetLinkInfoDirectory.patch
new file mode 100644
index 0000000..762b919
--- /dev/null
+++ b/debian/patches/skip_testGetLinkInfoDirectory.patch
@@ -0,0 +1,29 @@
+Description: Skip non-functional test
+  From: Adam Borowski <kilobyte at angband.pl>
+  Date: Mon, 15 Jan 2018 00:11:55 +0100
+  .
+  This is caused by an assumption that link count of a directory without any
+  hardlinks is 2 (or more general, 2 plus number of subdirectories).  This is
+  true on 70's sysvfs and descendants like ext*, and emulated by most
+  filesystems, but not all.
+  .
+  Btrfs and some remote filesystems instead always give 1 (directory hardlinks
+  being an unthing on any filesystems I'm aware of, symlinks and reflinks have
+  a different semantic and thus neither is shown in link count).
+  .
+  Thus, this test is bogus and should be skipped.
+Bug-Debian: https://bugs.debian.org/885962
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 15 Jan 2018 07:58:49 +0100
+
+--- a/sourceTest/java/ch/systemsx/cisd/base/unix/UnixTests.java
++++ b/sourceTest/java/ch/systemsx/cisd/base/unix/UnixTests.java
+@@ -78,7 +78,7 @@ public class UnixTests extends AbstractF
+     }
+ 
+     @Test(groups =
+-        { "requires_unix" })
++        { "skip_this_test" })
+     public void testGetLinkInfoSymLink() throws IOException
+     {
+         final File f = new File(workingDirectory, "someOtherFile");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libsis-base-java.git



More information about the debian-med-commit mailing list