Name Date Size #Lines LOC

..--

CVE-2014-1943.resultHD11-Sep-202330 21

CVE-2014-1943.testfileHD23-Dec-20205

HWP2016.hwp.resultHD11-Sep-202353 21

HWP2016.hwp.testfileHD11-Sep-20239 KiB

HWP2016.hwpx.zip.resultHD11-Sep-202346 21

HWP2016.hwpx.zip.testfileHD11-Sep-202314 KiB

HWP97.hwp.resultHD11-Sep-202353 21

HWP97.hwp.testfileHD11-Sep-20238.8 KiB5453

JW07022A.mp3.resultHD11-Sep-202399 21

JW07022A.mp3.testfileHD23-Dec-202015.5 KiB

Makefile.amHD21-Jan-20254.6 KiB210207

Makefile.inHD21-Jan-202523.8 KiB822734

READMEHD23-Dec-2020402 1510

android-vdex-1.resultHD11-Sep-2023124 21

android-vdex-1.testfileHD04-Jan-202220

android-vdex-2.resultHD11-Sep-2023150 21

android-vdex-2.testfileHD04-Jan-202220

arj.resultHD11-Sep-202398 21

arj.testfileHD04-Jul-202254

bcachefs.resultHD11-Sep-2023158 21

bcachefs.testfileHD04-Jan-20228 KiB

bcachefs2.resultHD09-Oct-2023168 21

bcachefs2.testfileHD11-Sep-20238 KiB

cl8m8ocofedso.resultHD11-Sep-2023101 21

cl8m8ocofedso.testfileHD04-Jan-202227.1 KiB

cmd1.resultHD11-Sep-202346 21

cmd1.testfileHD11-Sep-202317 20

cmd2.resultHD11-Sep-202346 21

cmd2.testfileHD11-Sep-202316 20

cmd3.resultHD11-Sep-202348 21

cmd3.testfileHD11-Sep-202326 31

cmd4.resultHD11-Sep-202348 21

cmd4.testfileHD11-Sep-202327 31

dsd64-dff.resultHD11-Sep-202397 21

dsd64-dff.testfileHD25-Sep-202217.5 KiB

dsd64-dsf.resultHD11-Sep-202394 21

dsd64-dsf.testfileHD25-Sep-202220.2 KiB

escapevel.resultHD11-Sep-202365 21

escapevel.testfileHD23-Dec-20208.6 KiB

ext4.resultHD11-Sep-2023123 21

ext4.testfileHD04-Jan-20222 KiB

fit-map-data.resultHD11-Sep-2023131 21

fit-map-data.testfileHD23-Dec-202015.6 KiB

gedcom.resultHD11-Sep-202346 21

gedcom.testfileHD23-Dec-2020100 98

gpkg-1-zst.resultHD09-Oct-202386 21

gpkg-1-zst.testfileHD25-Sep-20221 KiB11

hddrawcopytool.resultHD11-Sep-202375 21

hddrawcopytool.testfileHD23-Dec-20201.2 KiB

hello-racket_rkt.resultHD11-Sep-202330 21

hello-racket_rkt.testfileHD11-Sep-20231.6 KiB

issue311docx.resultHD11-Sep-202321 21

issue311docx.testfileHD23-Dec-20203.7 KiB

issue359xlsx.resultHD11-Sep-202322 21

issue359xlsx.testfileHD23-Dec-20204.4 KiB

jpeg-text.resultHD11-Sep-202337 21

jpeg-text.testfileHD11-Sep-20236 11

json1.resultHD11-Sep-202315 21

json1.testfileHD23-Dec-2020392 1514

json2.resultHD11-Sep-202315 21

json2.testfileHD23-Dec-2020573 2322

json3.resultHD11-Sep-202315 21

json3.testfileHD23-Dec-2020172 1413

json4.resultHD11-Sep-202315 21

json4.testfileHD04-Jul-20224 21

json5.resultHD11-Sep-202311 21

json5.testfileHD04-Jul-20226 21

json6.resultHD11-Sep-202315 21

json6.testfileHD25-Sep-202210 21

json7.resultHD11-Sep-202311 21

json7.testfileHD25-Sep-202214 21

json8.resultHD11-Sep-202315 21

json8.testfileHD25-Sep-202214 21

jsonlines1.resultHD11-Sep-202334 21

jsonlines1.testfileHD25-Sep-20226 32

keyman-0.resultHD21-Jan-202555 21

keyman-0.testfileHD21-Jan-20251.5 KiB

keyman-1.resultHD21-Jan-202544 21

keyman-1.testfileHD21-Jan-2025378

keyman-2.resultHD21-Jan-202529 21

keyman-2.testfileHD21-Jan-20251.1 KiB

matilde.arm.resultHD11-Sep-202342 21

matilde.arm.testfileHD04-Jan-202214.4 KiB10299

multiple-A.magicHD11-Sep-202353 32

multiple-B.magicHD11-Sep-202353 32

multiple.flagsHD11-Sep-20232

multiple.resultHD21-Jan-202598 21

multiple.testfileHD11-Sep-202322 11

pcjr.resultHD11-Sep-202321 21

pcjr.testfileHD04-Jan-2022514 33

pgp-binary-key-v2-phil.resultHD11-Sep-2023138 21

pgp-binary-key-v2-phil.testfileHD04-Jan-2022975

pgp-binary-key-v3-lutz.resultHD11-Sep-2023138 21

pgp-binary-key-v3-lutz.testfileHD04-Jan-202211.4 KiB

pgp-binary-key-v4-dsa.resultHD11-Sep-2023121 21

pgp-binary-key-v4-dsa.testfileHD04-Jan-20221.6 KiB

pgp-binary-key-v4-ecc-no-userid-secret.resultHD11-Sep-2023117 21

pgp-binary-key-v4-ecc-no-userid-secret.testfileHD04-Jan-2022794

pgp-binary-key-v4-ecc-secret-key.resultHD11-Sep-2023111 21

pgp-binary-key-v4-ecc-secret-key.testfileHD04-Jan-2022494

pgp-binary-key-v4-rsa-key.resultHD11-Sep-2023138 21

pgp-binary-key-v4-rsa-key.testfileHD04-Jan-20223.6 KiB

pgp-binary-key-v4-rsa-no-userid-secret.resultHD11-Sep-2023144 21

pgp-binary-key-v4-rsa-no-userid-secret.testfileHD04-Jan-20225.8 KiB

pgp-binary-key-v4-rsa-secret-key.resultHD11-Sep-2023138 21

pgp-binary-key-v4-rsa-secret-key.testfileHD04-Jan-20223.6 KiB

pnm1.resultHD11-Sep-202353 21

pnm1.testfileHD11-Sep-202319 65

pnm2.resultHD11-Sep-202350 21

pnm2.testfileHD11-Sep-202315

pnm3.resultHD11-Sep-202354 21

pnm3.testfileHD11-Sep-202356 65

regex-eol.magicHD23-Dec-2020234 76

regex-eol.resultHD11-Sep-202357 21

regex-eol.testfileHD23-Dec-20201.8 KiB2524

registry-pol.resultHD11-Sep-202340 21

registry-pol.testfileHD11-Sep-20236.9 KiB

rpm-v3.0-bin-aarch64.resultHD21-Jan-202521 21

rpm-v3.0-bin-aarch64.testfileHD21-Jan-20256.2 KiB

rpm-v3.0-bin-powerpc64.resultHD21-Jan-202523 21

rpm-v3.0-bin-powerpc64.testfileHD21-Jan-20256.2 KiB

rpm-v3.0-bin-s390x.resultHD21-Jan-202520 21

rpm-v3.0-bin-s390x.testfileHD21-Jan-20256.2 KiB

rpm-v3.0-bin-x86_64.resultHD21-Jan-202525 21

rpm-v3.0-bin-x86_64.testfileHD21-Jan-20256.2 KiB

rpm-v3.0-src.resultHD21-Jan-202513 21

rpm-v3.0-src.testfileHD21-Jan-20256.4 KiB

searchbug.magicHD21-Jan-2025192 139

searchbug.resultHD21-Jan-202597 21

searchbug.testfileHD21-Jan-2025256 11

test.cHD11-Sep-20233.8 KiB163120

uf2.resultHD21-Jan-202578 21

uf2.testfileHD04-Jan-2022512

utf16xmlsvg.resultHD21-Jan-202577 21

utf16xmlsvg.testfileHD21-Jan-20255.4 KiB3230

xclbin.resultHD11-Sep-2023193 21

xclbin.testfileHD11-Sep-2023512

zstd-3-skippable-frames.resultHD11-Sep-202352 21

zstd-dictionary-0.resultHD11-Sep-202328 21

zstd-dictionary-1.resultHD11-Sep-202328 21

zstd-dictionary-2.resultHD11-Sep-202336 21

zstd-skippable-frame-0.resultHD11-Sep-202333 21

zstd-skippable-frame-4.resultHD11-Sep-202333 21

zstd-skippable-frame-8.resultHD11-Sep-202333 21

zstd-skippable-frame-C.resultHD11-Sep-202352 21

zstd-v0.2-FF.resultHD11-Sep-202333 21

zstd-v0.2-FF.testfileHD23-Dec-202010

zstd-v0.3-FF.resultHD11-Sep-202333 21

zstd-v0.3-FF.testfileHD23-Dec-202010

zstd-v0.4-FF.resultHD11-Sep-202333 21

zstd-v0.4-FF.testfileHD23-Dec-202010

zstd-v0.5-FF.resultHD11-Sep-202333 21

zstd-v0.5-FF.testfileHD23-Dec-202010

zstd-v0.6-FF.resultHD11-Sep-202333 21

zstd-v0.6-FF.testfileHD23-Dec-202010

zstd-v0.7-00.resultHD11-Sep-202354 21

zstd-v0.7-21.resultHD11-Sep-202351 21

zstd-v0.7-21.testfileHD23-Dec-202010

zstd-v0.7-22.resultHD11-Sep-202353 21

zstd-v0.7-22.testfileHD23-Dec-202010

zstd-v0.8-00.resultHD11-Sep-202355 21

zstd-v0.8-01.resultHD11-Sep-202352 21

zstd-v0.8-01.testfileHD23-Dec-202010

zstd-v0.8-02.resultHD11-Sep-202354 21

zstd-v0.8-02.testfileHD23-Dec-202010

zstd-v0.8-03.resultHD11-Sep-202359 21

zstd-v0.8-03.testfileHD23-Dec-202010

zstd-v0.8-16.resultHD11-Sep-202354 21

zstd-v0.8-16.testfileHD23-Dec-202010

zstd-v0.8-20.resultHD11-Sep-202355 21

zstd-v0.8-20.testfileHD23-Dec-202010

zstd-v0.8-21.resultHD11-Sep-202352 21

zstd-v0.8-21.testfileHD23-Dec-202010

zstd-v0.8-22.resultHD11-Sep-202354 21

zstd-v0.8-22.testfileHD23-Dec-202010

zstd-v0.8-23.resultHD11-Sep-202359 21

zstd-v0.8-23.testfileHD23-Dec-202010

zstd-v0.8-F4.resultHD11-Sep-202355 21

zstd-v0.8-F4.testfileHD23-Dec-202010

zstd-v0.8-FF.resultHD11-Sep-202359 21

zstd-v0.8-FF.testfileHD23-Dec-202010

README

1file tests
2==========
3
4This directory contains tests for file. It is highly encouraged to add
5one each time a bug is found, and each time new magic is added. Each
6test consists of two files:
7
8  TEST.testfile
9  TEST.result
10
11where TEST is the base name of the test, TEST.testfile is the input,
12and TEST.result is the desired output from file.
13
14To add a new test just add the test files to the directory.
15