aboutsummaryrefslogtreecommitdiff
path: root/scripts/mkdiff_obj
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2025-12-06 00:40:57 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2026-01-18 03:09:52 +0100
commit993d416d02442da1c33d8b26d706e24134b3d018 (patch)
treeb2f76f20c59f8e8bd369e97fa4e575fbae4e1e21 /scripts/mkdiff_obj
parentfc9d352b4cae7bd962723480d1323fb1b5f46e32 (diff)
downloadbusybox-w32-993d416d02442da1c33d8b26d706e24134b3d018.tar.gz
busybox-w32-993d416d02442da1c33d8b26d706e24134b3d018.tar.bz2
busybox-w32-993d416d02442da1c33d8b26d706e24134b3d018.zip
md5/sha1sum: Honor the -b flag in the output
The output of md5sum/sha1sum contains a character to indicate what mode was used to read the file - '*' for binary, and ' ' for text or where binary is insignificant. This flag character makes a difference for the ffmpeg testsuite. This testsuite contains a number of reference files (e.g. [1]), containing the expected md5sum output for those files, which is checked verbatim. By making busybox's md5sum honor this flag in the output, ffmpeg's testsuite can run successfully on top of busybox. The flag is only partially implemented; in coreutils md5sum, a later "-t" option overrides an earlier "-b" option. Here, just check if a "-b" option was specified or not. Neither flag affects how the files actually are read. [1] https://code.ffmpeg.org/FFmpeg/FFmpeg/src/commit/894da5ca7d742e4429ffb2af534fcda0103ef593/tests/ref/acodec/flac Signed-off-by: Martin Storsjö <martin@martin.st> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'scripts/mkdiff_obj')
0 files changed, 0 insertions, 0 deletions