Closed noahp closed 2 years ago
dtrx exits quite abruptly with a traceback if the file command is not present on the host (for example, on the docker image python:3.10-slim-buster).
dtrx
file
python:3.10-slim-buster
Add a fix to more gently exit with a message on this event:
dtrx: ERROR: 'file' command not found, skipping magic test
Add a pretty janky test to ensure it stays fixed.
Fixes #24
nice use of docker for testing, I'll remember that for future :)
dtrx
exits quite abruptly with a traceback if thefile
command is not present on the host (for example, on the docker imagepython:3.10-slim-buster
).Add a fix to more gently exit with a message on this event:
Add a pretty janky test to ensure it stays fixed.
Fixes #24