diff --git a/Formula/imagemagick.rb b/Formula/imagemagick.rb index fffdbacb95e19..f8fd96f1e92c2 100644 --- a/Formula/imagemagick.rb +++ b/Formula/imagemagick.rb @@ -116,6 +116,7 @@ def caveats end test do - system "#{bin}/identify", "/usr/share/doc/cups/images/cups.png" + test_png = HOMEBREW_LIBRARY/"Homebrew/test/fixtures/test.png" + system "#{bin}/identify", test_png end end