From ad4b14c332f5dcaf3e2e20689dcc5c793abdaf4d Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Mon, 13 Mar 2017 10:25:05 -0700 Subject: [PATCH] gst-plugins-ugly@0.10: add a test --- Formula/gst-plugins-ugly@0.10.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Formula/gst-plugins-ugly@0.10.rb b/Formula/gst-plugins-ugly@0.10.rb index 1e6309060c..d69d63fbb2 100644 --- a/Formula/gst-plugins-ugly@0.10.rb +++ b/Formula/gst-plugins-ugly@0.10.rb @@ -58,4 +58,10 @@ class GstPluginsUglyAT010 < Formula system "make" system "make", "install" end + + test do + gst = Formula["gstreamer@0.10"].opt_bin/"gst-inspect-0.10" + output = shell_output("#{gst} --plugin dvdsub") + assert_match version.to_s, output + end end