aboutsummaryrefslogtreecommitdiff
path: root/tests/file.test
AgeCommit message (Collapse)Author
2020-03-29file: add 7z test fileJoeky
2019-11-23file.test: fix /dev/zero major/minor for Mac.Elliott Hughes
2019-06-28file, stat: various small improvements.Elliott Hughes
file now shows the target of a symbolic link and calls out broken symbolic links. file now shows the device type for block/character special files. file now shows specific reason when it can't open. stat now includes the device type, plus a little more space between the number of blocks and the human-readable file type. Adjusted tests accordingly, which actually makes more of them pass on the host as a convenient side-effect, but I actually made these changes because I've been finding the desktop file and stat output more convenient in these cases.
2019-04-26file: improve test coverage.Elliott Hughes
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/.
2019-04-26file: add test ELF binaries.Elliott Hughes
We keep regressing on this, and the ELF stuff is quite complicated, so even though checking in binaries isn't my first choice, this seems like a good use of 20KiB...
2018-11-20Chmod +x tests that pass with VERBOSE=fail and -x on tests needing work.Rob Landley
2018-08-04file: slightly improve .class, add .dex.Elliott Hughes
2018-06-12Add tests for file stdin behavior.Elliott Hughes
2018-05-07remove also "symlink" after file.testReverend Homer
2016-09-13Add -h and -L to file.Elliott Hughes
On a toybox system, most of your bin directory is symbolic links. Bug: http://b/31294746
2016-03-23The test infrastructure prints the command name now, so file.test shouldn't.Rob Landley
2016-03-02Fix file for Java class files, improve script detection, and add tests.Elliott Hughes