aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-01-12 23:46:57 +0100
committerMike McQuaid2015-01-13 10:58:04 +0000
commit3768ec6f9213f8d58fae829f4e9af59c93bd7ae4 (patch)
tree782c556e13b2ba0df690885d9b5ffff988de23ad
parentdd1e28ee42a5b7f67b3930cba55cb35179f70cec (diff)
downloadhomebrew-3768ec6f9213f8d58fae829f4e9af59c93bd7ae4.tar.bz2
jp2a: TERM env variable defined in test
Closes #35792. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/jp2a.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/jp2a.rb b/Library/Formula/jp2a.rb
index 45e98f6f0..b457164fc 100644
--- a/Library/Formula/jp2a.rb
+++ b/Library/Formula/jp2a.rb
@@ -23,6 +23,8 @@ class Jp2a < Formula
end
test do
+ # the test fails if this is not set
+ ENV["TERM"] = "xterm-256color"
system "#{bin}/jp2a", test_fixtures("test.jpg")
end
end