aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/jpeg-turbo.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/jpeg-turbo.rb b/Library/Formula/jpeg-turbo.rb
index 302dc145f..af55ca749 100644
--- a/Library/Formula/jpeg-turbo.rb
+++ b/Library/Formula/jpeg-turbo.rb
@@ -25,9 +25,10 @@ class JpegTurbo < Formula
end
test do
- system "#{bin}/jpegtran", "-crop", "500x500+200+500",
+ test_jpg = HOMEBREW_LIBRARY/"Homebrew/test/fixtures/test.jpg"
+ system "#{bin}/jpegtran", "-crop", "1x1",
"-transpose", "-perfect",
- "-outfile", "test.jpg",
- "/System/Library/CoreServices/DefaultDesktop.jpg"
+ "-outfile", "out.jpg",
+ test_jpg
end
end