[Toybox] [PATCH] file: improve test coverage.

enh enh at google.com
Fri Apr 26 09:36:08 PDT 2019


Use a real .class file and add tests for the other formats that file(1)
recognizes and we already have sample input in tests/files/.
---
 tests/file.test        |  27 ++++++++++++++++++++-------
 tests/files/java.class | Bin 0 -> 182 bytes
 2 files changed, 20 insertions(+), 7 deletions(-)
 create mode 100644 tests/files/java.class
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-file-improve-test-coverage.patch
Type: text/x-patch
Size: 4119 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190426/b803bbff/attachment.bin>


More information about the Toybox mailing list