mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
file_test: Fix file test
Trimming of the line feed is no longer necessary afterd993c6b0dbCurrently the tests: - bcachefs2 - gpkg-1-zst - multiple are failing, but a fix will be committed upstream. This also revertsc5e957ad4"file: fix test case for gpkg by removing the extra \n." MFC after: 3 days (cherry picked from commit0d3a87569f)
This commit is contained in:
parent
f790f28092
commit
c3ca5da36e
2 changed files with 2 additions and 3 deletions
|
|
@ -1 +1 @@
|
|||
Gentoo GLEP 78 (GPKG) binary package for "inkscape-1.2.1-r2-1" using zstd compression
|
||||
Gentoo GLEP 78 (GPKG) binary package for "inkscape-1.2.1-r2-1" using zstd compression
|
||||
|
|
|
|||
|
|
@ -40,8 +40,7 @@ contrib_file_tests_body() {
|
|||
# The result files were created in UTC.
|
||||
TZ=Z atf_check -o save:actual_output file ${file_args} \
|
||||
--brief "$testfile"
|
||||
atf_check -o save:trimmed_output tr -d '\012' < actual_output
|
||||
atf_check cmp trimmed_output "$result_file"
|
||||
atf_check cmp actual_output "$result_file"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue