+25
−0
Loading
The upstream test TestFsType used a regexp to match filesystem magic constant names (e.g. EXT4_SUPER_MAGIC) against the string returned by FsType(). This fails in Nix sandbox builds where the filesystem type does not match that naming pattern. The patch (prometheus/prometheus#18519) relaxes the assertion to simply require a non-zero value for a valid path.