[med-svn] [Git][med-team/libsis-base-java][master] 4 commits: Add patch from upstream to fix test suite error

Andreas Tille gitlab at salsa.debian.org
Wed Sep 19 08:46:54 BST 2018


Andreas Tille pushed to branch master at Debian Med / libsis-base-java


Commits:
10ce246c by Andreas Tille at 2018-09-19T07:37:03Z
Add patch from upstream to fix test suite error

- - - - -
c18e69ce by Andreas Tille at 2018-09-19T07:37:36Z
Standards-Version: 4.2.1

- - - - -
e7743aa2 by Andreas Tille at 2018-09-19T07:39:12Z
Slightly more verbose description

- - - - -
78cd89f6 by Andreas Tille at 2018-09-19T07:45:51Z
Upload to unstable

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/0001-Change-test-testGetLinkInfoRegularFile-to-precision-.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-libsis-base-java (18.08.0+dfsg-1) UNRELEASED; urgency=medium
+libsis-base-java (18.08.0+dfsg-1) unstable; urgency=medium
 
   * New upstream Git checkout
   * Upstream moved to some Gitlab instance (adapt watch file)
@@ -6,10 +6,11 @@ libsis-base-java (18.08.0+dfsg-1) UNRELEASED; urgency=medium
   * Drop binary files from upstream source
   * Drop now unneeded get-orig-source target
   * Point Vcs fields to salsa.debian.org
-  * Standards-Version: 4.2.0
+  * Standards-Version: 4.2.1
   * Build-Depends: s/libcommons-lang-java/libcommons-lang3-java/
+  * Slightly more verbose description
 
- -- Andreas Tille <tille at debian.org>  Tue, 14 Aug 2018 09:31:05 +0200
+ -- Andreas Tille <tille at debian.org>  Wed, 19 Sep 2018 09:41:12 +0200
 
 libsis-base-java (14.12.0-5) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -13,7 +13,7 @@ Build-Depends: debhelper (>= 11),
                testng,
                libtool,
                procps
-Standards-Version: 4.2.0
+Standards-Version: 4.2.1
 Vcs-Browser: https://salsa.debian.org/med-team/libsis-base-java
 Vcs-Git: https://salsa.debian.org/med-team/libsis-base-java.git
 Homepage: https://sissource.ethz.ch/sispub/base
@@ -25,6 +25,9 @@ Depends: ${misc:Depends},
          libsis-base-jni (>= ${source:Version})
 Description: Base libraries used by software from the SIS division at ETH Zurich
  This library supplies some utility classes needed for libraries like sis-jhdf5.
+ .
+ Sis-jhdf5 is a Java binding to the HDF Group library for HDF5 focusing on
+ ease-of-use.
 
 Package: libsis-base-jni
 Architecture: any
@@ -33,3 +36,5 @@ Depends: ${misc:Depends},
          ${shlibs:Depends}
 Description: Base libraries used by ETH-SIS (JNI components)
  This library contains the two small native libraries used by libsis-base-java.
+ .
+ This library supplies some utility classes needed for libraries like sis-jhdf5.


=====================================
debian/patches/0001-Change-test-testGetLinkInfoRegularFile-to-precision-.patch
=====================================
@@ -0,0 +1,22 @@
+From: Bernd Rinn <brinn at ethz.ch>
+Date: Tue, 21 Aug 2018 15:20:44 +0200
+Origin: https://sissource.ethz.ch/sispub/base/commit/331b8ccb2d5197393fef09fe4e02febaf0041287
+Subject: Change test testGetLinkInfoRegularFile() to precision of
+ 1 second, as some java.io.File.lastModified() on some JREs report the last
+ modified time with sub-second resolution.
+
+---
+ sourceTest/java/ch/systemsx/cisd/base/unix/UnixTests.java | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/sourceTest/java/ch/systemsx/cisd/base/unix/UnixTests.java
++++ b/sourceTest/java/ch/systemsx/cisd/base/unix/UnixTests.java
+@@ -56,7 +56,7 @@ public class UnixTests extends AbstractF
+         assertEquals("root", Unix.tryGetUserNameForUid(0));
+         assertEquals(FileLinkType.REGULAR_FILE, info.getLinkType());
+         assertFalse(info.isSymbolicLink());
+-        assertEquals(f.lastModified(), 1000 * info.getLastModified());
++        assertEquals(f.lastModified()/1000, info.getLastModified());
+     }
+ 
+     @Test(groups =


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ remove_ch_rinn_imports.patch
 load_native_debian.patch
 fix_tests.patch
 skip_testGetLinkInfoDirectory.patch
+0001-Change-test-testGetLinkInfoRegularFile-to-precision-.patch



View it on GitLab: https://salsa.debian.org/med-team/libsis-base-java/compare/428eb4f5a3361cba463281faa19ff30100ff0ee9...78cd89f6ad17b7782d80e4f8998c89acff29c710

-- 
View it on GitLab: https://salsa.debian.org/med-team/libsis-base-java/compare/428eb4f5a3361cba463281faa19ff30100ff0ee9...78cd89f6ad17b7782d80e4f8998c89acff29c710
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180919/e18c5637/attachment-0001.html>


More information about the debian-med-commit mailing list