aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-06-16 10:32:27 -0500
committerRob Landley <rob@landley.net>2020-06-16 10:32:27 -0500
commit718d73c023b765f1434edb5def188847b4cc044a (patch)
tree3e8b3fa820826fcbe223ced9d8bcad247264a544 /tests
parent1a4e631d484c8b373a39bd055af613b5f152924c (diff)
downloadtoybox-718d73c023b765f1434edb5def188847b4cc044a.tar.gz
Ryan Prichard reported that file wasn't getting gif heights right.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/file.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/file.test b/tests/file.test
index 4b7b5a9e..90acfa4c 100755
--- a/tests/file.test
+++ b/tests/file.test
@@ -35,6 +35,9 @@ testing "7z file" "file $FILES/tar/tar.7z | sed 's|$FILES/||'" \
"tar/tar.7z: 7-zip archive data, version 0.4\n" "" ""
testing "zip file" "file $FILES/zip/example.zip | sed 's|$FILES/||'" \
"zip/example.zip: Zip archive data, requires at least v1.0 to extract\n" "" ""
+echo R0lGODlhIAAgAMZHAAAAABYWFiYmJioqKi4uLjIy | base64 -d > gif
+testing "gif file" "file gif" "gif: GIF image data, 32 x 32\n" "" ""
+rm -f gif
# TODO: check in a genuine minimal .dex
testing "Android .dex" "file android.dex" "android.dex: Android dex file, version 035\n" "" ""