diff --git a/Formula/exif.rb b/Formula/exif.rb index f55c14866c..847cebebdd 100644 --- a/Formula/exif.rb +++ b/Formula/exif.rb @@ -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