exif: add test

Again, our test.jpg does not contain Exif data.
This commit is contained in:
Zhiming Wang 2016-09-29 10:28:02 -04:00
parent 65263d06cd
commit 52ada77064

View file

@ -32,4 +32,10 @@ class Exif < Formula
system "./configure", *args
system "make", "install"
end
test do
test_image = test_fixtures("test.jpg")
assert_match "The data supplied does not seem to contain EXIF data.",
shell_output("#{bin}/exif #{test_image} 2>&1", 1)
end
end