diff options
| author | Mike McQuaid | 2014-07-28 19:30:43 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2014-07-28 19:36:09 +0200 |
| commit | f2bf31b728a28544665877b5ae0417554dce3de3 (patch) | |
| tree | eeed502d05cef2547a8c11a16de6054b10f7bdca /Library/Formula | |
| parent | fef5869894b193d52e50d20c54c0872ade24b7d9 (diff) | |
| download | homebrew-f2bf31b728a28544665877b5ae0417554dce3de3.tar.bz2 | |
jpeg-turbo: use test fixture image.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/jpeg-turbo.rb | 7 |
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 |
