[Debian-med-packaging] Bug#885962: Skip file system specific test (Was: Bug#885962: filesystem specific)
Andreas Tille
tille at debian.org
Mon Jan 15 08:32:00 UTC 2018
Hi Bernd,
please see below regarding an issue in one test of libsis-base. Here is the
patch I used to fix the bug inside Debian:
https://anonscm.debian.org/git/debian-med/libsis-base-java.git/tree/debian/patches/skip_testGetLinkInfoDirectory.patch
BTW, I have not yet found a new version of jhdf5 so this issue
https://bugs.debian.org/842815
seems to remain open. Could you give any time estimation when this
might be fixed?
Kind regards
Andreas.
On Mon, Jan 15, 2018 at 12:11:55AM +0100, Adam Borowski wrote:
> > Running testGetLinkInfoDirectory
> > Exception in thread "main" java.lang.AssertionError: expected:<2> but was:<1>
>
> 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.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list