> 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. Meow! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢰⠒⠀⣿⡁ Imagine there are bandits in your house, your kid is bleeding out, ⢿⡄⠘⠷⠚⠋⠀ the house is on fire, and seven big-ass trumpets are playing in the ⠈⠳⣄⠀⠀⠀⠀ sky. Your cat demands food. The priority should be obvious...