From 96acec8ab8c4796d1d426443553ba543b0cd203c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 28 Jul 2014 19:32:21 +0200 Subject: [PATCH] swftools: use test fixture image. --- Formula/swftools.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/swftools.rb b/Formula/swftools.rb index 43d005da2a..f007416e45 100644 --- a/Formula/swftools.rb +++ b/Formula/swftools.rb @@ -32,7 +32,8 @@ class Swftools < Formula end test do - system "#{bin}/png2swf", "swftools_test.swf", "/usr/share/doc/cups/images/cups.png" + test_png = HOMEBREW_LIBRARY/"Homebrew/test/fixtures/test.png" + system "#{bin}/png2swf", "swftools_test.swf", test_png end end