From f2bf31b728a28544665877b5ae0417554dce3de3 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 28 Jul 2014 19:30:43 +0200 Subject: jpeg-turbo: use test fixture image. --- Library/Formula/jpeg-turbo.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3