From f2ff7bae2d7f4694e1cc186ce778dab85e981aa3 Mon Sep 17 00:00:00 2001
From: ilovezfs <ilovezfs@icloud.com>
Date: Sat, 11 Mar 2017 08:48:04 -0800
Subject: [PATCH] gst-plugins-base@0.10: add a test

---
 Formula/gst-plugins-base@0.10.rb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Formula/gst-plugins-base@0.10.rb b/Formula/gst-plugins-base@0.10.rb
index 407906c644..4ffb211638 100644
--- a/Formula/gst-plugins-base@0.10.rb
+++ b/Formula/gst-plugins-base@0.10.rb
@@ -40,4 +40,10 @@ class GstPluginsBaseAT010 < 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 volume")
+    assert_match version.to_s, output
+  end
 end