HomeFreeBSD

file_test: Fix file test

Description

file_test: Fix file test

Trimming of the line feed is no longer necessary after
https://github.com/file/file/commit/d993c6b0db20711b2c4cb9d2bee8c7f2e59b0a43

Currently the tests:

  • bcachefs2
  • gpkg-1-zst
  • multiple

are failing, but a fix will be committed upstream.

This also reverts c5e957ad4 "file: fix test case for gpkg by removing the extra \n."

MFC after: 3 days

(cherry picked from commit 0d3a87569f14b0e48826bbaab5e05f35669bcebf)

Details

Provenance
jlduranAuthored on Oct 7 2023, 12:47 PM
emasteCommitted on Nov 4 2023, 3:05 AM
Parents
rGf790f2809202: ping tests: Fix test on i386 platforms
Branches
Unknown
Tags
Unknown
Reverts
rGc5e957ad4fe6: file: fix test case for gpkg by removing the extra \n.