From 4cd0935be73b5503e918167673d216b7c962b589 Mon Sep 17 00:00:00 2001 From: Ted Pennings Date: Sun, 23 Feb 2014 16:31:41 -0500 Subject: [PATCH] Convert all 'def test' formulae to 'test do' Closes Homebrew/homebrew#26942. Closes Homebrew/homebrew#26946. Signed-off-by: Adam Vandenberg --- Formula/abcmidi.rb | 2 +- Formula/analog.rb | 2 +- Formula/appledoc.rb | 2 +- Formula/apt-dater.rb | 2 +- Formula/arp-scan.rb | 2 +- Formula/asciitex.rb | 2 +- Formula/aubio.rb | 2 +- Formula/automake.rb | 2 +- Formula/bbcp.rb | 2 +- Formula/bindfs.rb | 2 +- Formula/bochs.rb | 2 +- Formula/calabash.rb | 2 +- Formula/ceylon.rb | 2 +- Formula/cfengine.rb | 2 +- Formula/clamz.rb | 2 +- Formula/clay.rb | 2 +- Formula/clisp.rb | 2 +- Formula/clozure-cl.rb | 2 +- Formula/couchdb.rb | 2 +- Formula/cppcheck.rb | 2 +- Formula/csup.rb | 2 +- Formula/csync.rb | 2 +- Formula/daemon.rb | 2 +- Formula/dash.rb | 2 +- Formula/di.rb | 2 +- Formula/diffuse.rb | 2 +- Formula/distcc.rb | 2 +- Formula/djvu2pdf.rb | 2 +- Formula/dmd.rb | 2 +- Formula/dmenu.rb | 2 +- Formula/duti.rb | 2 +- Formula/dwatch.rb | 2 +- Formula/dylibbundler.rb | 2 +- Formula/epic5.rb | 2 +- Formula/eprover.rb | 2 +- Formula/erlang.rb | 2 +- Formula/exiftool.rb | 2 +- Formula/fastbit.rb | 2 +- Formula/fastjar.rb | 2 +- Formula/ffmbc.rb | 2 +- Formula/figlet.rb | 2 +- Formula/findbugs.rb | 2 +- Formula/fon-flash-cli.rb | 2 +- Formula/freeling.rb | 2 +- Formula/freetds.rb | 2 +- Formula/fwknop.rb | 2 +- Formula/gcutil.rb | 2 +- Formula/gdmap.rb | 2 +- Formula/genstats.rb | 2 +- Formula/giblib.rb | 2 +- Formula/git-crypt.rb | 2 +- Formula/gmail-backup.rb | 2 +- Formula/gnunet.rb | 2 +- Formula/gnuplot.rb | 2 +- Formula/graylog2-server.rb | 2 +- Formula/growly.rb | 2 +- Formula/gsmartcontrol.rb | 2 +- Formula/gsoap.rb | 2 +- Formula/gtk+3.rb | 2 +- Formula/heroku-toolbelt.rb | 2 +- Formula/hilite.rb | 2 +- Formula/htpdate.rb | 2 +- Formula/ideviceinstaller.rb | 2 +- Formula/imageworsener.rb | 2 +- Formula/imapfilter.rb | 2 +- Formula/inkscape.rb | 2 +- Formula/intercal.rb | 2 +- Formula/ioping.rb | 2 +- Formula/ipbt.rb | 2 +- Formula/ircd-hybrid.rb | 2 +- Formula/irods.rb | 2 +- Formula/irrtoolset.rb | 2 +- Formula/ispc.rb | 2 +- Formula/jcal.rb | 2 +- Formula/jigdo.rb | 2 +- Formula/jp2a.rb | 2 +- Formula/jpeginfo.rb | 2 +- Formula/jruby.rb | 2 +- Formula/juju.rb | 2 +- Formula/leptonica.rb | 2 +- Formula/libcaca.rb | 2 +- Formula/libcec.rb | 2 +- Formula/libcouchbase.rb | 2 +- Formula/libextractor.rb | 2 +- Formula/libidn.rb | 2 +- Formula/libmikmod.rb | 2 +- Formula/libqalculate.rb | 2 +- Formula/libraw.rb | 2 +- Formula/libswiften.rb | 2 +- Formula/link-grammar.rb | 2 +- Formula/llvm.rb | 2 +- Formula/log4c.rb | 2 +- Formula/logcheck.rb | 2 +- Formula/lsyncd.rb | 2 +- Formula/luarocks.rb | 2 +- Formula/mackup.rb | 2 +- Formula/mapserver.rb | 2 +- Formula/mboxgrep.rb | 2 +- Formula/md5deep.rb | 2 +- Formula/mikmod.rb | 2 +- Formula/minizinc.rb | 2 +- Formula/mmsrip.rb | 2 +- Formula/monit.rb | 2 +- Formula/mpegdemux.rb | 2 +- Formula/mpich2.rb | 2 +- Formula/mplayer.rb | 2 +- Formula/mpssh.rb | 2 +- Formula/mspdebug.rb | 2 +- Formula/mydumper.rb | 2 +- Formula/ndiff.rb | 2 +- Formula/ngspice.rb | 2 +- Formula/nicovideo-dl.rb | 2 +- Formula/normalize.rb | 2 +- Formula/open-cobol.rb | 2 +- Formula/ori.rb | 2 +- Formula/pango.rb | 2 +- Formula/pass.rb | 2 +- Formula/pcal.rb | 2 +- Formula/pdfgrep.rb | 2 +- Formula/peervpn.rb | 2 +- Formula/percona-toolkit.rb | 2 +- Formula/pipebench.rb | 2 +- Formula/pixie.rb | 2 +- Formula/platypus.rb | 2 +- Formula/pngquant.rb | 2 +- Formula/pplatex.rb | 2 +- Formula/primesieve.rb | 2 +- Formula/pyqwt.rb | 2 +- Formula/qiv.rb | 2 +- Formula/qtplay.rb | 2 +- Formula/quex.rb | 2 +- Formula/quvi.rb | 2 +- Formula/rc.rb | 2 +- Formula/rdup.rb | 2 +- Formula/regex-opt.rb | 2 +- Formula/remctl.rb | 2 +- Formula/rest-shell.rb | 2 +- Formula/roundup.rb | 2 +- Formula/rsense.rb | 2 +- Formula/rust.rb | 2 +- Formula/sc68.rb | 2 +- Formula/sdcc.rb | 2 +- Formula/sdhash.rb | 2 +- Formula/sdl.rb | 2 +- Formula/sdl2.rb | 2 +- Formula/silc-client.rb | 2 +- Formula/slony.rb | 2 +- Formula/sofia-sip.rb | 2 +- Formula/sonar-runner.rb | 2 +- Formula/spark.rb | 2 +- Formula/spdylay.rb | 2 +- Formula/srmio.rb | 2 +- Formula/sslscan.rb | 2 +- Formula/stanford-parser.rb | 2 +- Formula/swatchbooker.rb | 2 +- Formula/swi-prolog.rb | 2 +- Formula/ta-lib.rb | 2 +- Formula/tal.rb | 2 +- Formula/tcpurify.rb | 2 +- Formula/teem.rb | 2 +- Formula/tetgen.rb | 2 +- Formula/texi2html.rb | 2 +- Formula/the_silver_searcher.rb | 2 +- Formula/tkdiff.rb | 2 +- Formula/tmap.rb | 2 +- Formula/tmux.rb | 2 +- Formula/toilet.rb | 2 +- Formula/torrentcheck.rb | 2 +- Formula/torsocks.rb | 2 +- Formula/trafficserver.rb | 2 +- Formula/trash.rb | 2 +- Formula/treecc.rb | 2 +- Formula/tup.rb | 2 +- Formula/txt2man.rb | 2 +- Formula/uchardet.rb | 2 +- Formula/ucspi-tcp.rb | 2 +- Formula/unar.rb | 2 +- Formula/unifdef.rb | 2 +- Formula/uudeview.rb | 2 +- Formula/vala.rb | 2 +- Formula/valgrind.rb | 2 +- Formula/vimpc.rb | 2 +- Formula/wait_on.rb | 2 +- Formula/wbox.rb | 2 +- Formula/wdfs.rb | 2 +- Formula/web100clt.rb | 2 +- Formula/wget.rb | 2 +- Formula/wput.rb | 2 +- Formula/xclip.rb | 2 +- Formula/xmp.rb | 2 +- Formula/xorriso.rb | 2 +- Formula/xrootd.rb | 2 +- Formula/xstow.rb | 2 +- Formula/xtail.rb | 2 +- Formula/yaws.rb | 2 +- Formula/youtube-dl.rb | 2 +- Formula/zabbix.rb | 2 +- Formula/zsh.rb | 2 +- 198 files changed, 198 insertions(+), 198 deletions(-) diff --git a/Formula/abcmidi.rb b/Formula/abcmidi.rb index 859e632103ac8..6ca299dac9044 100644 --- a/Formula/abcmidi.rb +++ b/Formula/abcmidi.rb @@ -20,7 +20,7 @@ def install system "make", "install" end - def test + test do system "#{bin}/abc2midi" end end diff --git a/Formula/analog.rb b/Formula/analog.rb index a8b37fd8db7d3..797c7ab00f455 100644 --- a/Formula/analog.rb +++ b/Formula/analog.rb @@ -21,7 +21,7 @@ def install man1.install "analog.man" => "analog.1" end - def test + test do system "\"#{bin}/analog\" > /dev/null" end end diff --git a/Formula/appledoc.rb b/Formula/appledoc.rb index 7a00281f787a0..d31b4ca5dcccc 100644 --- a/Formula/appledoc.rb +++ b/Formula/appledoc.rb @@ -23,7 +23,7 @@ def install prefix.install "Templates/" end - def test + test do system "#{bin}/appledoc", "--version" end end diff --git a/Formula/apt-dater.rb b/Formula/apt-dater.rb index c4e866dd59556..911762641de35 100644 --- a/Formula/apt-dater.rb +++ b/Formula/apt-dater.rb @@ -17,7 +17,7 @@ def install system "make", "AM_LDFLAGS=", "install" end - def test + test do system "#{bin}/apt-dater", "-v" end end diff --git a/Formula/arp-scan.rb b/Formula/arp-scan.rb index 661388cfa63c7..80a9398673347 100644 --- a/Formula/arp-scan.rb +++ b/Formula/arp-scan.rb @@ -11,7 +11,7 @@ def install system "make install" end - def test + test do system "#{bin}/arp-scan", "-V" end end diff --git a/Formula/asciitex.rb b/Formula/asciitex.rb index 5138f5b40e594..1b7add5b0925a 100644 --- a/Formula/asciitex.rb +++ b/Formula/asciitex.rb @@ -12,7 +12,7 @@ def install prefix.install 'EXAMPLES' end - def test + test do system "#{bin}/asciiTeX", "-f", "#{prefix}/EXAMPLES" end end diff --git a/Formula/aubio.rb b/Formula/aubio.rb index 68ac642d72e10..7c4de201c57ab 100644 --- a/Formula/aubio.rb +++ b/Formula/aubio.rb @@ -31,7 +31,7 @@ def install bin.env_script_all_files(libexec+'bin', :PYTHONPATH => ENV['PYTHONPATH']) end - def test + test do system "#{bin}/aubiocut", "--help" end end diff --git a/Formula/automake.rb b/Formula/automake.rb index 52a89d07c9d8b..10fd6e63f5fbc 100644 --- a/Formula/automake.rb +++ b/Formula/automake.rb @@ -33,7 +33,7 @@ def install EOS end - def test + test do system "#{bin}/automake", "--version" end end diff --git a/Formula/bbcp.rb b/Formula/bbcp.rb index 201b08935e181..bc6ef3276e975 100644 --- a/Formula/bbcp.rb +++ b/Formula/bbcp.rb @@ -21,7 +21,7 @@ def install bin.install "bin/bbcp" end - def test + test do system "#{bin}/bbcp", "--help" end end diff --git a/Formula/bindfs.rb b/Formula/bindfs.rb index 23f23a90c5d6e..1a1132458a8cb 100644 --- a/Formula/bindfs.rb +++ b/Formula/bindfs.rb @@ -14,7 +14,7 @@ def install system "make install" end - def test + test do system "#{bin}/bindfs", "-V" end end diff --git a/Formula/bochs.rb b/Formula/bochs.rb index 44a016b33c925..ed72233c8be87 100644 --- a/Formula/bochs.rb +++ b/Formula/bochs.rb @@ -48,7 +48,7 @@ def install system "make install" end - def test + test do system "#{bin}/bochs" end end diff --git a/Formula/calabash.rb b/Formula/calabash.rb index 4a46db9159a76..8a40db83c590b 100644 --- a/Formula/calabash.rb +++ b/Formula/calabash.rb @@ -14,7 +14,7 @@ def install bin.write_jar_script libexec/'calabash.jar', 'calabash', '-Xmx1024m' end - def test + test do # This small XML pipeline (*.xpl) that comes with Calabash # is basically its equivalent "Hello World" program. system "#{bin}/calabash", "#{libexec}/xpl/pipe.xpl" diff --git a/Formula/ceylon.rb b/Formula/ceylon.rb index 8d964de0fe193..0bf8b7883714d 100644 --- a/Formula/ceylon.rb +++ b/Formula/ceylon.rb @@ -20,7 +20,7 @@ def caveats "Ceylon requires Java 7." end - def test + test do cd "#{libexec}/samples/helloworld" do system "#{bin}/ceylon", "compile", "com.acme.helloworld" system "#{bin}/ceylon", "doc", "--non-shared", "com.acme.helloworld" diff --git a/Formula/cfengine.rb b/Formula/cfengine.rb index df778a47528d2..1c9c363f26bfe 100644 --- a/Formula/cfengine.rb +++ b/Formula/cfengine.rb @@ -27,7 +27,7 @@ def install system "make install" end - def test + test do system "#{bin}/cf-agent", "-V" end end diff --git a/Formula/clamz.rb b/Formula/clamz.rb index cfbb990f9d9ed..7140708f1ee3f 100644 --- a/Formula/clamz.rb +++ b/Formula/clamz.rb @@ -13,7 +13,7 @@ def install system "make install" end - def test + test do system "#{bin}/clamz" end end diff --git a/Formula/clay.rb b/Formula/clay.rb index eb273603d558c..92f2331112782 100644 --- a/Formula/clay.rb +++ b/Formula/clay.rb @@ -15,7 +15,7 @@ def install system "make install" end - def test + test do system "#{bin}/clay", "-e", "println(\"Hello, Clay!\");" end end diff --git a/Formula/clisp.rb b/Formula/clisp.rb index c38e77217d03d..a95edaf168f64 100644 --- a/Formula/clisp.rb +++ b/Formula/clisp.rb @@ -53,7 +53,7 @@ def install end end - def test + test do system "#{bin}/clisp", "--version" end end diff --git a/Formula/clozure-cl.rb b/Formula/clozure-cl.rb index ef48b9971f620..a97fff8cc36bf 100644 --- a/Formula/clozure-cl.rb +++ b/Formula/clozure-cl.rb @@ -51,7 +51,7 @@ def test_ccl(bit = 32) %Q{#{ccl} -e '(progn (format t "Hello world from #{bit}-bit ClozureCL") (ccl::quit))'} end - def test + test do system test_ccl system test_ccl(64) end diff --git a/Formula/couchdb.rb b/Formula/couchdb.rb index 202a5d787b66c..836efd9053629 100644 --- a/Formula/couchdb.rb +++ b/Formula/couchdb.rb @@ -76,7 +76,7 @@ def plist; <<-EOS.undent EOS end - def test + test do # ensure couchdb embedded spidermonkey vm works system "#{bin}/couchjs", "-h" end diff --git a/Formula/cppcheck.rb b/Formula/cppcheck.rb index a42e68835ff95..075e115a289db 100644 --- a/Formula/cppcheck.rb +++ b/Formula/cppcheck.rb @@ -40,7 +40,7 @@ def install end end - def test + test do system "#{bin}/cppcheck", "--version" end end diff --git a/Formula/csup.rb b/Formula/csup.rb index 2cd9a0e05e8ea..f02a65ba303e0 100644 --- a/Formula/csup.rb +++ b/Formula/csup.rb @@ -12,7 +12,7 @@ def install man1.install "csup.1" end - def test + test do system "#{bin}/csup", "-v" end end diff --git a/Formula/csync.rb b/Formula/csync.rb index afc78a92cd9c4..e745e750ce49c 100644 --- a/Formula/csync.rb +++ b/Formula/csync.rb @@ -51,7 +51,7 @@ def install end end - def test + test do system "csync", "-V" end end diff --git a/Formula/daemon.rb b/Formula/daemon.rb index 79ecee400be20..274877b431ac7 100644 --- a/Formula/daemon.rb +++ b/Formula/daemon.rb @@ -11,7 +11,7 @@ def install system "make", "PREFIX=#{prefix}", "install" end - def test + test do system "#{bin}/daemon", "--version" end end diff --git a/Formula/dash.rb b/Formula/dash.rb index 2045be8a2c277..8811021ae73fe 100644 --- a/Formula/dash.rb +++ b/Formula/dash.rb @@ -23,7 +23,7 @@ def install system "make install" end - def test + test do system "#{bin}/dash", "-c", "echo Hello!" end end diff --git a/Formula/di.rb b/Formula/di.rb index 6d31ba6d0994f..923cbab40fc3b 100644 --- a/Formula/di.rb +++ b/Formula/di.rb @@ -10,7 +10,7 @@ def install system "make", "install", "prefix=#{prefix}", "DI_MANDIR=#{man1}" end - def test + test do system "#{bin}/di" end end diff --git a/Formula/diffuse.rb b/Formula/diffuse.rb index 0ae1d474b3077..26ff745f9c0d6 100644 --- a/Formula/diffuse.rb +++ b/Formula/diffuse.rb @@ -14,7 +14,7 @@ def install "--prefix=#{prefix}" end - def test + test do system "#{bin}/diffuse", "--help" end end diff --git a/Formula/distcc.rb b/Formula/distcc.rb index be889fe10efd0..6922b9c2b56ae 100644 --- a/Formula/distcc.rb +++ b/Formula/distcc.rb @@ -58,7 +58,7 @@ def caveats; <<-EOS.undent EOS end - def test + test do system "#{bin}/distcc", "--version" end end diff --git a/Formula/djvu2pdf.rb b/Formula/djvu2pdf.rb index a0150815e601d..77b88c3d6326d 100644 --- a/Formula/djvu2pdf.rb +++ b/Formula/djvu2pdf.rb @@ -13,7 +13,7 @@ def install man1.install 'djvu2pdf.1.gz' end - def test + test do system "#{bin}/djvu2pdf", "-h" end end diff --git a/Formula/dmd.rb b/Formula/dmd.rb index 2697ec33c70c1..4e809510ead75 100644 --- a/Formula/dmd.rb +++ b/Formula/dmd.rb @@ -58,7 +58,7 @@ def install end end - def test + test do system "dmd", "#{prefix}/samples/hello.d" system "./hello" end diff --git a/Formula/dmenu.rb b/Formula/dmenu.rb index 588c1fe7854d6..92fb564369eaa 100644 --- a/Formula/dmenu.rb +++ b/Formula/dmenu.rb @@ -12,7 +12,7 @@ def install system "make", "PREFIX=#{prefix}", "install" end - def test + test do system "#{bin}/dmenu", "-v" end end diff --git a/Formula/duti.rb b/Formula/duti.rb index 885bf380d4164..2b53ae2db7a23 100644 --- a/Formula/duti.rb +++ b/Formula/duti.rb @@ -14,7 +14,7 @@ def install system "make install" end - def test + test do system "#{bin}/duti", "-x", "txt" end end diff --git a/Formula/dwatch.rb b/Formula/dwatch.rb index c3937c920400a..d13dbc7794878 100644 --- a/Formula/dwatch.rb +++ b/Formula/dwatch.rb @@ -19,7 +19,7 @@ def install etc.install "dwatch.conf" end - def test + test do # '-h' is not actually an option, but it exits 0 system "#{bin}/dwatch", "-h" end diff --git a/Formula/dylibbundler.rb b/Formula/dylibbundler.rb index 1c05ed2d27161..f7b7ceac1cd59 100644 --- a/Formula/dylibbundler.rb +++ b/Formula/dylibbundler.rb @@ -10,7 +10,7 @@ def install bin.install "dylibbundler" end - def test + test do system "#{bin}/dylibbundler", "-h" end diff --git a/Formula/epic5.rb b/Formula/epic5.rb index d885b0708a906..f9b9998717858 100644 --- a/Formula/epic5.rb +++ b/Formula/epic5.rb @@ -13,7 +13,7 @@ def install system "make install" end - def test + test do system "#{bin}/epic5", "-v" end end diff --git a/Formula/eprover.rb b/Formula/eprover.rb index e4a5b3d40c7af..662afcbfeab1e 100644 --- a/Formula/eprover.rb +++ b/Formula/eprover.rb @@ -11,7 +11,7 @@ def install system "make install" end - def test + test do system "#{bin}/eproof" end end diff --git a/Formula/erlang.rb b/Formula/erlang.rb index 3b757df210642..b59c278e4e815 100644 --- a/Formula/erlang.rb +++ b/Formula/erlang.rb @@ -98,7 +98,7 @@ def caveats; <<-EOS.undent EOS end - def test + test do `#{bin}/erl -noshell -eval 'crypto:start().' -s init stop` # This test takes some time to run, but per bug #120 should finish in diff --git a/Formula/exiftool.rb b/Formula/exiftool.rb index 7191cad00571c..fc9d50ba9e584 100644 --- a/Formula/exiftool.rb +++ b/Formula/exiftool.rb @@ -24,7 +24,7 @@ def install EOBIN end - def test + test do system "#{libexec}/exiftool" end end diff --git a/Formula/fastbit.rb b/Formula/fastbit.rb index 49be695554c85..c56fb1634bd40 100644 --- a/Formula/fastbit.rb +++ b/Formula/fastbit.rb @@ -14,7 +14,7 @@ def install system "make install" end - def test + test do system "#{bin}/fastbit-config", "--version" end end diff --git a/Formula/fastjar.rb b/Formula/fastjar.rb index 8fe0a2c40c7f8..499a5191ea018 100644 --- a/Formula/fastjar.rb +++ b/Formula/fastjar.rb @@ -11,7 +11,7 @@ def install system "make install" end - def test + test do system "#{bin}/fastjar", "-V" system "#{bin}/grepjar", "-V" end diff --git a/Formula/ffmbc.rb b/Formula/ffmbc.rb index 3d006b1817f76..2a979a28bf32b 100644 --- a/Formula/ffmbc.rb +++ b/Formula/ffmbc.rb @@ -66,7 +66,7 @@ def caveats EOS end - def test + test do system "#{bin}/ffmbc", "-h" end end diff --git a/Formula/figlet.rb b/Formula/figlet.rb index 904831e36d12d..9af5aa1869574 100644 --- a/Formula/figlet.rb +++ b/Formula/figlet.rb @@ -29,7 +29,7 @@ def install "install" end - def test + test do system "#{bin}/figlet", "-f", "larry3d", "hello, figlet" end end diff --git a/Formula/findbugs.rb b/Formula/findbugs.rb index 620495482adf1..d4db03d1f1a97 100644 --- a/Formula/findbugs.rb +++ b/Formula/findbugs.rb @@ -25,7 +25,7 @@ def caveats; <<-EOS.undent EOS end - def test + test do system "#{bin}/fb" end end diff --git a/Formula/fon-flash-cli.rb b/Formula/fon-flash-cli.rb index ddfb9418d7950..087ea9519b252 100644 --- a/Formula/fon-flash-cli.rb +++ b/Formula/fon-flash-cli.rb @@ -14,7 +14,7 @@ def install end end - def test + test do system "#{bin}/fon-flash" end end diff --git a/Formula/freeling.rb b/Formula/freeling.rb index 835d3a4a617b1..b618f9d236118 100644 --- a/Formula/freeling.rb +++ b/Formula/freeling.rb @@ -23,7 +23,7 @@ def install system "make install" end - def test + test do system "echo 'Hello world' | #{bin}/analyze -f #{share}/freeling/config/en.cfg | grep -c 'world world NN 1'" end end diff --git a/Formula/freetds.rb b/Formula/freetds.rb index f90a4d0b0890d..b8e6af85cefef 100644 --- a/Formula/freetds.rb +++ b/Formula/freetds.rb @@ -48,7 +48,7 @@ def install system 'make install' end - def test + test do system "#{bin}/tsql", "-C" end end diff --git a/Formula/fwknop.rb b/Formula/fwknop.rb index 31536d55a42fc..f2059a800168c 100644 --- a/Formula/fwknop.rb +++ b/Formula/fwknop.rb @@ -20,7 +20,7 @@ def install system "make install" end - def test + test do system "#{bin}/fwknop", "--version" end end diff --git a/Formula/gcutil.rb b/Formula/gcutil.rb index d7b36b8b326a5..0a03e82d1b876 100644 --- a/Formula/gcutil.rb +++ b/Formula/gcutil.rb @@ -10,7 +10,7 @@ def install bin.install_symlink libexec/"gcutil" end - def test + test do system "#{bin}/gcutil", "version" end end diff --git a/Formula/gdmap.rb b/Formula/gdmap.rb index f202861ab7786..bb01becbdb3da 100644 --- a/Formula/gdmap.rb +++ b/Formula/gdmap.rb @@ -27,7 +27,7 @@ def install system "make install" end - def test + test do system "#{bin}/gdmap" end end diff --git a/Formula/genstats.rb b/Formula/genstats.rb index 5b86480d83507..df64ec3f32a5b 100644 --- a/Formula/genstats.rb +++ b/Formula/genstats.rb @@ -20,7 +20,7 @@ def install man.install('genstats.1') end - def test + test do system "genstats -h | grep folkert@vanheusden.com" end end diff --git a/Formula/giblib.rb b/Formula/giblib.rb index cb6340f8e40ee..ed7f3f3dc67ea 100644 --- a/Formula/giblib.rb +++ b/Formula/giblib.rb @@ -13,7 +13,7 @@ def install system "make install" end - def test + test do system "#{bin}/giblib-config", "--version" end end diff --git a/Formula/git-crypt.rb b/Formula/git-crypt.rb index 6adf183d9e53a..e674c2c820b28 100644 --- a/Formula/git-crypt.rb +++ b/Formula/git-crypt.rb @@ -10,7 +10,7 @@ def install bin.install "git-crypt" end - def test + test do system "#{bin}/git-crypt" end end diff --git a/Formula/gmail-backup.rb b/Formula/gmail-backup.rb index da350c01aa6ea..de7f6e6d6aea5 100644 --- a/Formula/gmail-backup.rb +++ b/Formula/gmail-backup.rb @@ -14,7 +14,7 @@ def install bin.env_script_all_files(libexec, :PYTHONPATH => ENV["PYTHONPATH"]) end - def test + test do system "#{bin}/gmail-backup", "--help" end end diff --git a/Formula/gnunet.rb b/Formula/gnunet.rb index dd0ad6125fc3c..0958f22f0f29b 100644 --- a/Formula/gnunet.rb +++ b/Formula/gnunet.rb @@ -18,7 +18,7 @@ def install system "make install" end - def test + test do system "#{bin}/gnunet-search", "--version" end end diff --git a/Formula/gnuplot.rb b/Formula/gnuplot.rb index 076d19f8e4042..06c156a73c665 100644 --- a/Formula/gnuplot.rb +++ b/Formula/gnuplot.rb @@ -100,7 +100,7 @@ def install system "make install" end - def test + test do system "#{bin}/gnuplot", "--version" end diff --git a/Formula/graylog2-server.rb b/Formula/graylog2-server.rb index 8770c405069b7..e0833c5017923 100644 --- a/Formula/graylog2-server.rb +++ b/Formula/graylog2-server.rb @@ -71,7 +71,7 @@ def plist; <<-EOS.undent EOS end - def test + test do system "#{bin}/graylog2ctl" end end diff --git a/Formula/growly.rb b/Formula/growly.rb index ac9b3e36bd46e..8cef908872017 100644 --- a/Formula/growly.rb +++ b/Formula/growly.rb @@ -10,7 +10,7 @@ def install bin.install 'growly' end - def test + test do system "#{bin}/growly", "echo Hello, world!" end end diff --git a/Formula/gsmartcontrol.rb b/Formula/gsmartcontrol.rb index f1aefaa1e51ac..98ef1bc164f2b 100644 --- a/Formula/gsmartcontrol.rb +++ b/Formula/gsmartcontrol.rb @@ -25,7 +25,7 @@ def install system "make install" end - def test + test do system "#{bin}/gsmartcontrol", "--version" end end diff --git a/Formula/gsoap.rb b/Formula/gsoap.rb index 147c023027a2b..fa95d0dc74642 100644 --- a/Formula/gsoap.rb +++ b/Formula/gsoap.rb @@ -11,7 +11,7 @@ def install system 'make install' end - def test + test do system "#{bin}/soapcpp2", "-v" end end diff --git a/Formula/gtk+3.rb b/Formula/gtk+3.rb index 830511bc7208e..6a2e446fe8d8c 100644 --- a/Formula/gtk+3.rb +++ b/Formula/gtk+3.rb @@ -32,7 +32,7 @@ def install mv bin/'gtk-update-icon-cache', bin/'gtk3-update-icon-cache' end - def test + test do system "#{bin}/gtk3-demo" end end diff --git a/Formula/heroku-toolbelt.rb b/Formula/heroku-toolbelt.rb index 576d473e5db09..3d59236da88b7 100644 --- a/Formula/heroku-toolbelt.rb +++ b/Formula/heroku-toolbelt.rb @@ -10,7 +10,7 @@ def install bin.write_exec_script libexec/"bin/heroku" end - def test + test do system "#{bin}/heroku", "version" end diff --git a/Formula/hilite.rb b/Formula/hilite.rb index e9437a9920119..1aea6263eb23c 100644 --- a/Formula/hilite.rb +++ b/Formula/hilite.rb @@ -10,7 +10,7 @@ def install bin.install 'hilite' end - def test + test do system "#{bin}/hilite", "bash", "-c", "echo 'stderr in red' >&2" end end diff --git a/Formula/htpdate.rb b/Formula/htpdate.rb index 32aae50878e28..2d63fefa7a400 100644 --- a/Formula/htpdate.rb +++ b/Formula/htpdate.rb @@ -13,7 +13,7 @@ def install "install" end - def test + test do system "#{bin}/htpdate", "-h" end end diff --git a/Formula/ideviceinstaller.rb b/Formula/ideviceinstaller.rb index 8df267fdcff7a..16bca55a9c042 100644 --- a/Formula/ideviceinstaller.rb +++ b/Formula/ideviceinstaller.rb @@ -24,7 +24,7 @@ def install system "make install" end - def test + test do system "#{bin}/ideviceinstaller --help |grep -q ^Usage" end end diff --git a/Formula/imageworsener.rb b/Formula/imageworsener.rb index d8f2c1f65d8b7..213a428190305 100644 --- a/Formula/imageworsener.rb +++ b/Formula/imageworsener.rb @@ -12,7 +12,7 @@ def install system "make install" end - def test + test do system "#{bin}/imagew", "--version" end end diff --git a/Formula/imapfilter.rb b/Formula/imapfilter.rb index 1d46325a65247..cb60c084a4bf1 100644 --- a/Formula/imapfilter.rb +++ b/Formula/imapfilter.rb @@ -30,7 +30,7 @@ def caveats; <<-EOS.undent EOS end - def test + test do system "#{bin}/imapfilter", "-V" end end diff --git a/Formula/inkscape.rb b/Formula/inkscape.rb index 082050b8d33e1..f084e8005dc5b 100644 --- a/Formula/inkscape.rb +++ b/Formula/inkscape.rb @@ -34,7 +34,7 @@ def install system "make install" end - def test + test do system "#{bin}/inkscape", "-V" end end diff --git a/Formula/intercal.rb b/Formula/intercal.rb index 7c32381a40eb9..83970db1ede6c 100644 --- a/Formula/intercal.rb +++ b/Formula/intercal.rb @@ -11,7 +11,7 @@ def install system "make install" end - def test + test do system "#{bin}/convickt" system "#{bin}/ick" end diff --git a/Formula/ioping.rb b/Formula/ioping.rb index d7bcfb5e80efb..34c8391028945 100644 --- a/Formula/ioping.rb +++ b/Formula/ioping.rb @@ -12,7 +12,7 @@ def install system "make", "install", "PREFIX=#{prefix}" end - def test + test do system "#{bin}/ioping", "-v" end end diff --git a/Formula/ipbt.rb b/Formula/ipbt.rb index ddc1825fdf03d..2f3a348aede75 100644 --- a/Formula/ipbt.rb +++ b/Formula/ipbt.rb @@ -11,7 +11,7 @@ def install system "make install" end - def test + test do system "#{bin}/ipbt" end end diff --git a/Formula/ircd-hybrid.rb b/Formula/ircd-hybrid.rb index 7faa4cb52ab60..ed8394ed314d6 100644 --- a/Formula/ircd-hybrid.rb +++ b/Formula/ircd-hybrid.rb @@ -24,7 +24,7 @@ def install etc.install "doc/reference.conf" => "ircd.conf" end - def test + test do system "#{sbin}/ircd", "-version" end diff --git a/Formula/irods.rb b/Formula/irods.rb index 72938d8b1ba6a..103f302d3dc94 100644 --- a/Formula/irods.rb +++ b/Formula/irods.rb @@ -36,7 +36,7 @@ def install end end - def test + test do system "#{bin}/ipwd" end end diff --git a/Formula/irrtoolset.rb b/Formula/irrtoolset.rb index 6b8e74cdc8220..5ded6cd89cab5 100644 --- a/Formula/irrtoolset.rb +++ b/Formula/irrtoolset.rb @@ -25,7 +25,7 @@ def install system "make install" end - def test + test do system "#{bin}/peval", "ANY" end end diff --git a/Formula/ispc.rb b/Formula/ispc.rb index 7c0287eb3c897..a4ff24cd220d1 100644 --- a/Formula/ispc.rb +++ b/Formula/ispc.rb @@ -9,7 +9,7 @@ def install bin.install 'ispc' end - def test + test do system "#{bin}/ispc", "-v" end end diff --git a/Formula/jcal.rb b/Formula/jcal.rb index 6c0ea0a1906da..6286e1c802b2c 100644 --- a/Formula/jcal.rb +++ b/Formula/jcal.rb @@ -18,7 +18,7 @@ def install system "make install" end - def test + test do system "#{bin}/jcal", "-y" system "#{bin}/jdate" end diff --git a/Formula/jigdo.rb b/Formula/jigdo.rb index 7a587def5ac6b..7a36b6352398b 100644 --- a/Formula/jigdo.rb +++ b/Formula/jigdo.rb @@ -23,7 +23,7 @@ def install system "make install" end - def test + test do system "#{bin}/jigdo-file", "-h" end end diff --git a/Formula/jp2a.rb b/Formula/jp2a.rb index d11aa7b293d99..8a347bd4babff 100644 --- a/Formula/jp2a.rb +++ b/Formula/jp2a.rb @@ -13,7 +13,7 @@ def install system "make install" end - def test + test do system "#{bin}/jp2a", "-V" end end diff --git a/Formula/jpeginfo.rb b/Formula/jpeginfo.rb index 3dbd7209668fd..7424a8989be6a 100644 --- a/Formula/jpeginfo.rb +++ b/Formula/jpeginfo.rb @@ -15,7 +15,7 @@ def install system "make install" end - def test + test do system "#{bin}/jpeginfo", "--help" end end diff --git a/Formula/jruby.rb b/Formula/jruby.rb index 95b033e3588de..aa46045aae879 100644 --- a/Formula/jruby.rb +++ b/Formula/jruby.rb @@ -29,7 +29,7 @@ def install bin.install_symlink Dir["#{libexec}/bin/*"] end - def test + test do system "#{bin}/jruby", "-e", "puts 'hello'" end end diff --git a/Formula/juju.rb b/Formula/juju.rb index add6a01fb00f8..523214e451888 100644 --- a/Formula/juju.rb +++ b/Formula/juju.rb @@ -28,7 +28,7 @@ def install EOS end - def test + test do system "#{bin}/juju", "version" end end diff --git a/Formula/leptonica.rb b/Formula/leptonica.rb index 4bec1c85d81b8..ec4149339d22d 100644 --- a/Formula/leptonica.rb +++ b/Formula/leptonica.rb @@ -18,7 +18,7 @@ def install system "make install" end - def test + test do system "#{bin}/yuvtest" end end diff --git a/Formula/libcaca.rb b/Formula/libcaca.rb index 860ab9ceea5a4..df3a70eaa26e2 100644 --- a/Formula/libcaca.rb +++ b/Formula/libcaca.rb @@ -45,7 +45,7 @@ def install system "make install" end - def test + test do system "#{bin}/img2txt", "--version" end end diff --git a/Formula/libcec.rb b/Formula/libcec.rb index fffe264cbd56d..b87cb6b33d042 100644 --- a/Formula/libcec.rb +++ b/Formula/libcec.rb @@ -17,7 +17,7 @@ def install system "make install" end - def test + test do system "#{bin}/cec-client", "--info" end end diff --git a/Formula/libcouchbase.rb b/Formula/libcouchbase.rb index 77fe5d1009de4..3ce7a56cea172 100644 --- a/Formula/libcouchbase.rb +++ b/Formula/libcouchbase.rb @@ -33,7 +33,7 @@ def install system "make install" end - def test + test do system "#{bin}/cbc", "version" end end diff --git a/Formula/libextractor.rb b/Formula/libextractor.rb index bb115013b651f..396859517c27c 100644 --- a/Formula/libextractor.rb +++ b/Formula/libextractor.rb @@ -18,7 +18,7 @@ def install system "make install" end - def test + test do system "#{bin}/extract", "-v" end end diff --git a/Formula/libidn.rb b/Formula/libidn.rb index 90066948bc433..8432f5b434dc2 100644 --- a/Formula/libidn.rb +++ b/Formula/libidn.rb @@ -25,7 +25,7 @@ def install system "make install" end - def test + test do system "#{bin}/idn", "--version" end end diff --git a/Formula/libmikmod.rb b/Formula/libmikmod.rb index 2fcbcda6cea2d..1061373992cb2 100644 --- a/Formula/libmikmod.rb +++ b/Formula/libmikmod.rb @@ -24,7 +24,7 @@ def install end end - def test + test do system "#{bin}/libmikmod-config", "--version" end end diff --git a/Formula/libqalculate.rb b/Formula/libqalculate.rb index f39f22d104466..326002964e090 100644 --- a/Formula/libqalculate.rb +++ b/Formula/libqalculate.rb @@ -22,7 +22,7 @@ def install system "make install" end - def test + test do system "#{bin}/qalc", "(2+2)/4 hours to minutes" end end diff --git a/Formula/libraw.rb b/Formula/libraw.rb index c7061be337708..515ccb9643e38 100644 --- a/Formula/libraw.rb +++ b/Formula/libraw.rb @@ -37,7 +37,7 @@ def install prefix.install 'samples' end - def test + test do resource('librawtestfile').stage do filename = 'RAW_NIKON_D1.NEF' system "#{bin}/raw-identify", "-u", filename diff --git a/Formula/libswiften.rb b/Formula/libswiften.rb index 65f42052afb6e..373618f77e62c 100644 --- a/Formula/libswiften.rb +++ b/Formula/libswiften.rb @@ -48,7 +48,7 @@ def install man1.install 'Swift/Packaging/Debian/debian/swiften-config.1' unless build.stable? end - def test + test do system "#{bin}/swiften-config" end end diff --git a/Formula/link-grammar.rb b/Formula/link-grammar.rb index 288d025e0aac8..b337519225fdb 100644 --- a/Formula/link-grammar.rb +++ b/Formula/link-grammar.rb @@ -13,7 +13,7 @@ def install system "make install" end - def test + test do system "#{bin}/link-parser", "--version" end end diff --git a/Formula/llvm.rb b/Formula/llvm.rb index cb5e5f2d6f30e..65a4935639b79 100644 --- a/Formula/llvm.rb +++ b/Formula/llvm.rb @@ -69,7 +69,7 @@ def install end end - def test + test do system "#{bin}/llvm-config", "--version" end diff --git a/Formula/log4c.rb b/Formula/log4c.rb index 2f5315152d9bc..4a619f729418e 100644 --- a/Formula/log4c.rb +++ b/Formula/log4c.rb @@ -12,7 +12,7 @@ def install system "make install" end - def test + test do system "#{bin}/log4c-config", "--version" end end diff --git a/Formula/logcheck.rb b/Formula/logcheck.rb index 9e127f2dc0a90..9fe63dabca79f 100644 --- a/Formula/logcheck.rb +++ b/Formula/logcheck.rb @@ -13,7 +13,7 @@ def install "BINDIR=bin" end - def test + test do system "#{sbin}/logtail", "-f", "#{HOMEBREW_REPOSITORY}/README.md" end end diff --git a/Formula/lsyncd.rb b/Formula/lsyncd.rb index 56102fe240bf8..bcdd9f903e20f 100644 --- a/Formula/lsyncd.rb +++ b/Formula/lsyncd.rb @@ -60,7 +60,7 @@ def install end - def test + test do system "lsyncd", "--version" end end diff --git a/Formula/luarocks.rb b/Formula/luarocks.rb index ff18bee807c8d..f7e130c0289ea 100644 --- a/Formula/luarocks.rb +++ b/Formula/luarocks.rb @@ -58,7 +58,7 @@ def caveats; <<-EOS.undent EOS end - def test + test do opoo "Luarocks test script installs 'lpeg'" system "#{bin}/luarocks", "install", "lpeg" system "lua", "-llpeg", "-e", 'print ("Hello World!")' diff --git a/Formula/mackup.rb b/Formula/mackup.rb index e17cc51f875a7..e0a7e9d263467 100644 --- a/Formula/mackup.rb +++ b/Formula/mackup.rb @@ -13,7 +13,7 @@ def install system 'python', 'setup.py', 'install', "--prefix=#{prefix}" end - def test + test do system "#{bin}/mackup", '--help' end end diff --git a/Formula/mapserver.rb b/Formula/mapserver.rb index e4681a0f79588..05d36d761e83c 100644 --- a/Formula/mapserver.rb +++ b/Formula/mapserver.rb @@ -77,7 +77,7 @@ def caveats; <<-EOS.undent EOS end - def test + test do system "#{bin}/mapserver-config", "--version" end end diff --git a/Formula/mboxgrep.rb b/Formula/mboxgrep.rb index a6864a1b3f93b..4be90e3e8795c 100644 --- a/Formula/mboxgrep.rb +++ b/Formula/mboxgrep.rb @@ -15,7 +15,7 @@ def install system "make", "install" end - def test + test do system "#{bin}/mboxgrep", "--version" end end diff --git a/Formula/md5deep.rb b/Formula/md5deep.rb index 17f346bd98881..2683b479ae984 100644 --- a/Formula/md5deep.rb +++ b/Formula/md5deep.rb @@ -10,7 +10,7 @@ def install system "make install" end - def test + test do system bin/"md5deep", "-h" system bin/"hashdeep", "-h" end diff --git a/Formula/mikmod.rb b/Formula/mikmod.rb index 9ca82a864b7f7..790a7d1ff478f 100644 --- a/Formula/mikmod.rb +++ b/Formula/mikmod.rb @@ -14,7 +14,7 @@ def install system "make install" end - def test + test do system "#{bin}/mikmod", "-V" end end diff --git a/Formula/minizinc.rb b/Formula/minizinc.rb index 2991a12123599..6a7b55dff44ce 100644 --- a/Formula/minizinc.rb +++ b/Formula/minizinc.rb @@ -21,7 +21,7 @@ def install (bin/'private').unlink end - def test + test do system "#{bin}/mzn2fzn", "--help" end end diff --git a/Formula/mmsrip.rb b/Formula/mmsrip.rb index 56fb4016becfb..2cd41842f09e1 100644 --- a/Formula/mmsrip.rb +++ b/Formula/mmsrip.rb @@ -12,7 +12,7 @@ def install system "make install" end - def test + test do system "#{bin}/mmsrip", "-v" end end diff --git a/Formula/monit.rb b/Formula/monit.rb index 42c13117cec59..52c86f5c4dc37 100644 --- a/Formula/monit.rb +++ b/Formula/monit.rb @@ -12,7 +12,7 @@ def install system "make install" end - def test + test do system "#{bin}/monit", "-h" end end diff --git a/Formula/mpegdemux.rb b/Formula/mpegdemux.rb index 16cf48e82b71c..7c6ae0537bfd4 100644 --- a/Formula/mpegdemux.rb +++ b/Formula/mpegdemux.rb @@ -11,7 +11,7 @@ def install system "make install" end - def test + test do system "#{bin}/mpegdemux", "--help" end end diff --git a/Formula/mpich2.rb b/Formula/mpich2.rb index 8f244a9d8e7d8..ffc6790a5c1f6 100644 --- a/Formula/mpich2.rb +++ b/Formula/mpich2.rb @@ -56,7 +56,7 @@ def install system "make install" end - def test + test do # a better test would be to build and run a small MPI program system "#{bin}/mpicc", "-show" end diff --git a/Formula/mplayer.rb b/Formula/mplayer.rb index 76cb62923ba3b..1bf60ecda506e 100644 --- a/Formula/mplayer.rb +++ b/Formula/mplayer.rb @@ -66,7 +66,7 @@ def install system "make install" end - def test + test do system "#{bin}/mplayer", "-ao", "null", "/System/Library/Sounds/Glass.aiff" end end diff --git a/Formula/mpssh.rb b/Formula/mpssh.rb index 5ef94580cc7b2..d7fc890d625d2 100644 --- a/Formula/mpssh.rb +++ b/Formula/mpssh.rb @@ -11,7 +11,7 @@ def install man1.install "mpssh.man" => "mpssh.1" end - def test + test do system "#{bin}/mpssh" end end diff --git a/Formula/mspdebug.rb b/Formula/mspdebug.rb index 5548030234938..ffc9e6c1620a4 100644 --- a/Formula/mspdebug.rb +++ b/Formula/mspdebug.rb @@ -18,7 +18,7 @@ def caveats; <<-EOS.undent EOS end - def test + test do system "#{bin}/mspdebug", "--help" end end diff --git a/Formula/mydumper.rb b/Formula/mydumper.rb index ba5011f420074..8075edab3e0f0 100644 --- a/Formula/mydumper.rb +++ b/Formula/mydumper.rb @@ -16,7 +16,7 @@ def install system "make install" end - def test + test do system "#{bin}/mydumper", "--version" end end diff --git a/Formula/ndiff.rb b/Formula/ndiff.rb index 70021fa3d9ee4..6f2c8188d9f67 100644 --- a/Formula/ndiff.rb +++ b/Formula/ndiff.rb @@ -18,7 +18,7 @@ def install man1.install "man/man1/ndiff.1" end - def test + test do system "#{bin}/ndiff", "--help" end end diff --git a/Formula/ngspice.rb b/Formula/ngspice.rb index fdf5ad7057490..81aa4b8a2ae73 100644 --- a/Formula/ngspice.rb +++ b/Formula/ngspice.rb @@ -23,7 +23,7 @@ def install system "make install" end - def test + test do system "#{bin}/ngspice", "-v" end end diff --git a/Formula/nicovideo-dl.rb b/Formula/nicovideo-dl.rb index f68950ed182cd..e3a63b05160c5 100644 --- a/Formula/nicovideo-dl.rb +++ b/Formula/nicovideo-dl.rb @@ -9,7 +9,7 @@ def install bin.install 'nicovideo-dl' end - def test + test do system "#{bin}/nicovideo-dl", "-v" end end diff --git a/Formula/normalize.rb b/Formula/normalize.rb index a0e24feb44a2d..a2e9d5c4f81f6 100644 --- a/Formula/normalize.rb +++ b/Formula/normalize.rb @@ -24,7 +24,7 @@ def install system "make install" end - def test + test do system "#{bin}/normalize" end end diff --git a/Formula/open-cobol.rb b/Formula/open-cobol.rb index 2aca554891a2c..266c58ce34e6b 100644 --- a/Formula/open-cobol.rb +++ b/Formula/open-cobol.rb @@ -14,7 +14,7 @@ def install system "make install" end - def test + test do system "#{bin}/cobc", "--help" end end diff --git a/Formula/ori.rb b/Formula/ori.rb index 17bf5e5a8f118..53e02a03e3fb7 100644 --- a/Formula/ori.rb +++ b/Formula/ori.rb @@ -17,7 +17,7 @@ def install system "scons", "install", "PREFIX=#{prefix}" end - def test + test do system "#{bin}/ori" end end diff --git a/Formula/pango.rb b/Formula/pango.rb index 7e97eef84d883..2d5bd7942216a 100644 --- a/Formula/pango.rb +++ b/Formula/pango.rb @@ -48,7 +48,7 @@ def install system "make install" end - def test + test do system "#{bin}/pango-querymodules", "--version" end end diff --git a/Formula/pass.rb b/Formula/pass.rb index 7d49e4729a4b3..db001e1792d57 100644 --- a/Formula/pass.rb +++ b/Formula/pass.rb @@ -17,7 +17,7 @@ def install zsh_completion.install "contrib/pass.zsh-completion" => "_pass" end - def test + test do system "#{bin}/pass", "--version" end end diff --git a/Formula/pcal.rb b/Formula/pcal.rb index 1aa18fec82e0e..8925cf30fcdf3 100644 --- a/Formula/pcal.rb +++ b/Formula/pcal.rb @@ -14,7 +14,7 @@ def install man1.install gzip('doc/pcal.man') => 'pcal.1.gz' end - def test + test do system "#{bin}/pcal" end end diff --git a/Formula/pdfgrep.rb b/Formula/pdfgrep.rb index ca8ec9e7bd807..4c95596e3d02d 100644 --- a/Formula/pdfgrep.rb +++ b/Formula/pdfgrep.rb @@ -15,7 +15,7 @@ def install system "make install" end - def test + test do system "#{bin}/pdfgrep", "--version" end end diff --git a/Formula/peervpn.rb b/Formula/peervpn.rb index 2eceef4430686..8f5ef9be40f8f 100644 --- a/Formula/peervpn.rb +++ b/Formula/peervpn.rb @@ -22,7 +22,7 @@ def caveats; <<-EOS.undent EOS end - def test + test do system "#{bin}/peervpn" end end diff --git a/Formula/percona-toolkit.rb b/Formula/percona-toolkit.rb index f8e4edb9917dd..f3bb84ba09869 100644 --- a/Formula/percona-toolkit.rb +++ b/Formula/percona-toolkit.rb @@ -15,7 +15,7 @@ def install system "make install" end - def test + test do system "#{bin}/pt-agent" system "#{bin}/pt-align" system "#{bin}/pt-archiver" diff --git a/Formula/pipebench.rb b/Formula/pipebench.rb index 2dc8eec023e77..34d8af7805023 100644 --- a/Formula/pipebench.rb +++ b/Formula/pipebench.rb @@ -11,7 +11,7 @@ def install man1.install 'pipebench.1' end - def test + test do system "#{bin}/pipebench", "-h" end end diff --git a/Formula/pixie.rb b/Formula/pixie.rb index 3114acfd439fd..35eeee7d0ecc6 100644 --- a/Formula/pixie.rb +++ b/Formula/pixie.rb @@ -23,7 +23,7 @@ def install system "make install" end - def test + test do system "#{bin}/rndr", "-v" end end diff --git a/Formula/platypus.rb b/Formula/platypus.rb index c53c69045738b..c475d1dccf1f2 100644 --- a/Formula/platypus.rb +++ b/Formula/platypus.rb @@ -31,7 +31,7 @@ def install end end - def test + test do system "#{bin}/platypus", "-v" end diff --git a/Formula/pngquant.rb b/Formula/pngquant.rb index cf9eb72ef6865..813fa3c3a1307 100644 --- a/Formula/pngquant.rb +++ b/Formula/pngquant.rb @@ -16,7 +16,7 @@ def install man1.install 'pngquant.1' end - def test + test do system "#{bin}/pngquant", "--help" end end diff --git a/Formula/pplatex.rb b/Formula/pplatex.rb index 9c36d9cf1337a..b479896ef5e83 100644 --- a/Formula/pplatex.rb +++ b/Formula/pplatex.rb @@ -13,7 +13,7 @@ def install bin.install 'bin/pplatex', 'bin/ppdflatex' end - def test + test do system "#{bin}/pplatex", "-h" end end diff --git a/Formula/primesieve.rb b/Formula/primesieve.rb index 253250675b00f..7e2e637dc5888 100644 --- a/Formula/primesieve.rb +++ b/Formula/primesieve.rb @@ -11,7 +11,7 @@ def install system 'make install' end - def test + test do system "#{bin}/primesieve", '2', '1000', '--count=1', '-p2' end end diff --git a/Formula/pyqwt.rb b/Formula/pyqwt.rb index e37455a2dfcd6..c533d2bcf803b 100644 --- a/Formula/pyqwt.rb +++ b/Formula/pyqwt.rb @@ -30,7 +30,7 @@ def install end end - def test + test do system "python", "-c", "from PyQt4 import Qwt5 as Qwt" end end diff --git a/Formula/qiv.rb b/Formula/qiv.rb index 9f0d144b0a775..fca01fa4c2706 100644 --- a/Formula/qiv.rb +++ b/Formula/qiv.rb @@ -18,7 +18,7 @@ def install man1.install "qiv.1" end - def test + test do system "#{bin}/qiv" end end diff --git a/Formula/qtplay.rb b/Formula/qtplay.rb index 449b3e8a067de..29c2ddfc9a5c4 100644 --- a/Formula/qtplay.rb +++ b/Formula/qtplay.rb @@ -12,7 +12,7 @@ def install man1.install 'qtplay.1' end - def test + test do system "#{bin}/qtplay", "--help" end end diff --git a/Formula/quex.rb b/Formula/quex.rb index a4ea1d1272e2a..8cfe1fff64632 100644 --- a/Formula/quex.rb +++ b/Formula/quex.rb @@ -15,7 +15,7 @@ def install EOS end - def test + test do system "#{bin}/quex", "--help" end end diff --git a/Formula/quvi.rb b/Formula/quvi.rb index 0045764b70c78..bc816564164c6 100644 --- a/Formula/quvi.rb +++ b/Formula/quvi.rb @@ -13,7 +13,7 @@ def install system "make install" end - def test + test do system "#{bin}/quvi", "--version" end end diff --git a/Formula/rc.rb b/Formula/rc.rb index cc0257548267c..aab8a4e5be1a5 100644 --- a/Formula/rc.rb +++ b/Formula/rc.rb @@ -13,7 +13,7 @@ def install system "make install" end - def test + test do system "#{bin}/rc", "-c", "echo Hello!" end end diff --git a/Formula/rdup.rb b/Formula/rdup.rb index 991f7805f2cd3..8628da40a0fbe 100644 --- a/Formula/rdup.rb +++ b/Formula/rdup.rb @@ -23,7 +23,7 @@ def install system "make", "install" end - def test + test do # tell rdup to archive itself, then let rdup-tr make a tar archive of it, # and test with tar and grep whether the resulting tar archive actually # contains rdup diff --git a/Formula/regex-opt.rb b/Formula/regex-opt.rb index 8b12a801ba331..84bf74a360066 100644 --- a/Formula/regex-opt.rb +++ b/Formula/regex-opt.rb @@ -15,7 +15,7 @@ def install bin.install 'regex-opt' end - def test + test do system "#{bin}/regex-opt" end end diff --git a/Formula/remctl.rb b/Formula/remctl.rb index 35f53017830ed..965525f95b839 100644 --- a/Formula/remctl.rb +++ b/Formula/remctl.rb @@ -14,7 +14,7 @@ def install system "make install" end - def test + test do system "#{bin}/remctl", "-v" end end diff --git a/Formula/rest-shell.rb b/Formula/rest-shell.rb index e3620ca905ba5..b7e00465cb6ce 100644 --- a/Formula/rest-shell.rb +++ b/Formula/rest-shell.rb @@ -11,7 +11,7 @@ def install bin.write_exec_script libexec/'bin/rest-shell' end - def test + test do system "#{bin}/rest-shell" end end diff --git a/Formula/roundup.rb b/Formula/roundup.rb index a264a9d525f33..6293a1bc7b3dc 100644 --- a/Formula/roundup.rb +++ b/Formula/roundup.rb @@ -17,7 +17,7 @@ def install system "make install" end - def test + test do system "#{bin}/roundup", "-v" end end diff --git a/Formula/rsense.rb b/Formula/rsense.rb index fbf91d1b882c4..3e35caad96332 100644 --- a/Formula/rsense.rb +++ b/Formula/rsense.rb @@ -22,7 +22,7 @@ def caveats EOS end - def test + test do system "#{bin}/rsense", "version" end end diff --git a/Formula/rust.rb b/Formula/rust.rb index 71c1f62f62663..1270c2f12cc7b 100644 --- a/Formula/rust.rb +++ b/Formula/rust.rb @@ -27,7 +27,7 @@ def install system "make install" end - def test + test do system "#{bin}/rustc" system "#{bin}/rustdoc -h" system "#{bin}/rustpkg -v" unless build.head? diff --git a/Formula/sc68.rb b/Formula/sc68.rb index 66ed9699f231b..d5a754f00f71b 100644 --- a/Formula/sc68.rb +++ b/Formula/sc68.rb @@ -13,7 +13,7 @@ def install system "make install" end - def test + test do # SC68 ships with a sample module; test attempts to print its metadata system "#{bin}/info68", "#{share}/sc68/Sample/About-Intro.sc68", "-C", ": ", "-N", "-L" end diff --git a/Formula/sdcc.rb b/Formula/sdcc.rb index feebb78558816..e75df718ea755 100644 --- a/Formula/sdcc.rb +++ b/Formula/sdcc.rb @@ -30,7 +30,7 @@ def install system "make install" end - def test + test do system "#{bin}/sdcc", "-v" end end diff --git a/Formula/sdhash.rb b/Formula/sdhash.rb index cad53932b20b9..6a0ea67c6c388 100644 --- a/Formula/sdhash.rb +++ b/Formula/sdhash.rb @@ -16,7 +16,7 @@ def install man1.install Dir['man/*.1'] end - def test + test do system "#{bin}/sdhash" end end diff --git a/Formula/sdl.rb b/Formula/sdl.rb index f6242daab703a..a88ccae21a4da 100644 --- a/Formula/sdl.rb +++ b/Formula/sdl.rb @@ -63,7 +63,7 @@ def install libexec.install Dir["src/main/macosx/*"] unless build.head? end - def test + test do system "#{bin}/sdl-config", "--version" end end diff --git a/Formula/sdl2.rb b/Formula/sdl2.rb index 2aaa35219f5ad..85cca463c075a 100644 --- a/Formula/sdl2.rb +++ b/Formula/sdl2.rb @@ -34,7 +34,7 @@ def install system "make install" end - def test + test do system "#{bin}/sdl2-config", "--version" end end diff --git a/Formula/silc-client.rb b/Formula/silc-client.rb index 9665a3af9a147..ddb81b8e9360e 100644 --- a/Formula/silc-client.rb +++ b/Formula/silc-client.rb @@ -22,7 +22,7 @@ def install system "make install" end - def test + test do system "#{bin}/silc", "-v" end end diff --git a/Formula/slony.rb b/Formula/slony.rb index bbec7e378d708..79f492f3753e1 100644 --- a/Formula/slony.rb +++ b/Formula/slony.rb @@ -15,7 +15,7 @@ def install system "make install" end - def test + test do system "slon", "-v" end end diff --git a/Formula/sofia-sip.rb b/Formula/sofia-sip.rb index 302f74fc8b234..fcd0c9a4d20db 100644 --- a/Formula/sofia-sip.rb +++ b/Formula/sofia-sip.rb @@ -15,7 +15,7 @@ def install system "make install" end - def test + test do system "#{bin}/localinfo" system "#{bin}/sip-date" end diff --git a/Formula/sonar-runner.rb b/Formula/sonar-runner.rb index 9e3b5f0275821..d16c4128f9e87 100644 --- a/Formula/sonar-runner.rb +++ b/Formula/sonar-runner.rb @@ -21,7 +21,7 @@ def caveats; <<-EOS.undent EOS end - def test + test do system "#{bin}/sonar-runner", "-h" end end diff --git a/Formula/spark.rb b/Formula/spark.rb index 0ab91e587ee26..d4f70d80b2fbb 100644 --- a/Formula/spark.rb +++ b/Formula/spark.rb @@ -9,7 +9,7 @@ def install bin.install "spark" end - def test + test do system "#{bin}/spark" end end diff --git a/Formula/spdylay.rb b/Formula/spdylay.rb index 51827b44497b1..56c839a293701 100644 --- a/Formula/spdylay.rb +++ b/Formula/spdylay.rb @@ -26,7 +26,7 @@ def install system "make install" end - def test + test do system "#{bin}/spdycat", "-ns", "https://www.google.com" end end diff --git a/Formula/srmio.rb b/Formula/srmio.rb index 7b60c1743f2e0..541af25db5b7d 100644 --- a/Formula/srmio.rb +++ b/Formula/srmio.rb @@ -24,7 +24,7 @@ def install system "make install" end - def test + test do system "#{bin}/srmcmd", "--version" end end diff --git a/Formula/sslscan.rb b/Formula/sslscan.rb index 8837beac1d26d..019f336fa1282 100644 --- a/Formula/sslscan.rb +++ b/Formula/sslscan.rb @@ -16,7 +16,7 @@ def install man1.install "sslscan.1" end - def test + test do system "#{bin}/sslscan" end end diff --git a/Formula/stanford-parser.rb b/Formula/stanford-parser.rb index 4ea1e2d67a5b8..06f9549484661 100644 --- a/Formula/stanford-parser.rb +++ b/Formula/stanford-parser.rb @@ -11,7 +11,7 @@ def install bin.write_exec_script Dir["#{libexec}/*.sh"] end - def test + test do system "#{bin}/lexparser.sh", "#{libexec}/data/testsent.txt" end end diff --git a/Formula/swatchbooker.rb b/Formula/swatchbooker.rb index a9338b00c2cb7..62d54e901c61b 100644 --- a/Formula/swatchbooker.rb +++ b/Formula/swatchbooker.rb @@ -25,7 +25,7 @@ def install chmod 0755, libexec/'bin/swatchbooker' end - def test + test do system "#{bin}/swatchbooker" end end diff --git a/Formula/swi-prolog.rb b/Formula/swi-prolog.rb index 0000af0004495..90829df263d30 100644 --- a/Formula/swi-prolog.rb +++ b/Formula/swi-prolog.rb @@ -65,7 +65,7 @@ def install bin.write_exec_script Dir["#{libexec}/bin/*"] end - def test + test do system "#{bin}/swipl", "--version" end end diff --git a/Formula/ta-lib.rb b/Formula/ta-lib.rb index 96ded5ac73ec9..3034c052129c8 100644 --- a/Formula/ta-lib.rb +++ b/Formula/ta-lib.rb @@ -15,7 +15,7 @@ def install bin.install 'src/tools/ta_regtest/.libs/ta_regtest' end - def test + test do system "#{bin}/ta_regtest" end end diff --git a/Formula/tal.rb b/Formula/tal.rb index 160f64932cf97..9934950e3dac9 100644 --- a/Formula/tal.rb +++ b/Formula/tal.rb @@ -11,7 +11,7 @@ def install man1.install 'tal.1' end - def test + test do system "#{bin}/tal", "/etc/passwd" end end diff --git a/Formula/tcpurify.rb b/Formula/tcpurify.rb index 799eaed1a9a8a..ad3ba3bd65223 100644 --- a/Formula/tcpurify.rb +++ b/Formula/tcpurify.rb @@ -10,7 +10,7 @@ def install system "make install" end - def test + test do system "#{bin}/tcpurify", "-v" end end diff --git a/Formula/teem.rb b/Formula/teem.rb index 92f1f9bc06e5a..1ed7882359699 100644 --- a/Formula/teem.rb +++ b/Formula/teem.rb @@ -29,7 +29,7 @@ def install system "make install" end - def test + test do system "#{bin}/nrrdSanity" end end diff --git a/Formula/tetgen.rb b/Formula/tetgen.rb index fa7bc2a5bb9f6..e95bcb5eaac81 100644 --- a/Formula/tetgen.rb +++ b/Formula/tetgen.rb @@ -12,7 +12,7 @@ def install lib.install 'libtet.a' end - def test + test do system "#{bin}/tetgen" end end diff --git a/Formula/texi2html.rb b/Formula/texi2html.rb index 5c5b533a1de79..95ac23fcb014c 100644 --- a/Formula/texi2html.rb +++ b/Formula/texi2html.rb @@ -19,7 +19,7 @@ def install system "make install" end - def test + test do system "#{bin}/texi2html", "--help" end end diff --git a/Formula/the_silver_searcher.rb b/Formula/the_silver_searcher.rb index 6face8dcf4e6a..9d0ffcc8b02b4 100644 --- a/Formula/the_silver_searcher.rb +++ b/Formula/the_silver_searcher.rb @@ -28,7 +28,7 @@ def install bash_completion.install 'ag.bashcomp.sh' end - def test + test do system "#{bin}/ag", "--version" end end diff --git a/Formula/tkdiff.rb b/Formula/tkdiff.rb index 04960698235ee..0969b00aeb1ca 100644 --- a/Formula/tkdiff.rb +++ b/Formula/tkdiff.rb @@ -9,7 +9,7 @@ def install bin.install 'tkdiff' end - def test + test do system "#{bin}/tkdiff", "--help" end end diff --git a/Formula/tmap.rb b/Formula/tmap.rb index 8d733c6150f78..e086e26bca130 100644 --- a/Formula/tmap.rb +++ b/Formula/tmap.rb @@ -40,7 +40,7 @@ def install system "make install" end - def test + test do system "#{bin}/tmap", "-v" end end diff --git a/Formula/tmux.rb b/Formula/tmux.rb index 108591ff87abe..329c12f664649 100644 --- a/Formula/tmux.rb +++ b/Formula/tmux.rb @@ -42,7 +42,7 @@ def caveats; <<-EOS.undent EOS end - def test + test do system "#{bin}/tmux", "-V" end end diff --git a/Formula/toilet.rb b/Formula/toilet.rb index ffba0c634ddee..3d964ad6c4eb9 100644 --- a/Formula/toilet.rb +++ b/Formula/toilet.rb @@ -14,7 +14,7 @@ def install system "make install" end - def test + test do system "#{bin}/toilet", "--version" end end diff --git a/Formula/torrentcheck.rb b/Formula/torrentcheck.rb index fe3b2906fde26..8c546f2795e95 100644 --- a/Formula/torrentcheck.rb +++ b/Formula/torrentcheck.rb @@ -11,7 +11,7 @@ def install bin.install 'torrentcheck' end - def test + test do system "#{bin}/torrentcheck" end end diff --git a/Formula/torsocks.rb b/Formula/torsocks.rb index c5450d143b13d..b3661fe230ad9 100644 --- a/Formula/torsocks.rb +++ b/Formula/torsocks.rb @@ -18,7 +18,7 @@ def install system "make install" end - def test + test do system "#{bin}/torsocks" end end diff --git a/Formula/trafficserver.rb b/Formula/trafficserver.rb index 525380ed97a78..033f2220d6318 100644 --- a/Formula/trafficserver.rb +++ b/Formula/trafficserver.rb @@ -23,7 +23,7 @@ def install system "make install" end - def test + test do system "#{bin}/trafficserver", "status" end end diff --git a/Formula/trash.rb b/Formula/trash.rb index fdcbef2e6977a..3f277ac3e9b1b 100644 --- a/Formula/trash.rb +++ b/Formula/trash.rb @@ -14,7 +14,7 @@ def install man1.install "trash.1" end - def test + test do system "#{bin}/trash" end end diff --git a/Formula/treecc.rb b/Formula/treecc.rb index 2babf07cac57c..73c6c84cc0b96 100644 --- a/Formula/treecc.rb +++ b/Formula/treecc.rb @@ -11,7 +11,7 @@ def install bin.install "treecc" end - def test + test do system "#{bin}/treecc", "-v" end end diff --git a/Formula/tup.rb b/Formula/tup.rb index 076b936ddeb38..f7913c63d7feb 100644 --- a/Formula/tup.rb +++ b/Formula/tup.rb @@ -16,7 +16,7 @@ def install man1.install 'tup.1' end - def test + test do system "#{bin}/tup", "-v" end end diff --git a/Formula/txt2man.rb b/Formula/txt2man.rb index 290410914dca7..49b40413fde0a 100644 --- a/Formula/txt2man.rb +++ b/Formula/txt2man.rb @@ -12,7 +12,7 @@ def install bin.install %W[bookman src2man txt2man] end - def test + test do system "#{bin}/txt2man", "-h" system "#{bin}/src2man", "-h" system "#{bin}/bookman", "-h" diff --git a/Formula/uchardet.rb b/Formula/uchardet.rb index 4f92659e92a3d..834073ed10054 100644 --- a/Formula/uchardet.rb +++ b/Formula/uchardet.rb @@ -14,7 +14,7 @@ def install system "make install" end - def test + test do system "#{bin}/uchardet", __FILE__ end end diff --git a/Formula/ucspi-tcp.rb b/Formula/ucspi-tcp.rb index b2a1d532528c4..04a4017d8d256 100644 --- a/Formula/ucspi-tcp.rb +++ b/Formula/ucspi-tcp.rb @@ -18,7 +18,7 @@ def install share.install prefix/'man' end - def test + test do system "tcpserver" end end diff --git a/Formula/unar.rb b/Formula/unar.rb index f11045061642d..faf88e2db5e6f 100644 --- a/Formula/unar.rb +++ b/Formula/unar.rb @@ -36,7 +36,7 @@ def install end end - def test + test do system bin/'unar', '--version' system bin/'lsar', '--version' end diff --git a/Formula/unifdef.rb b/Formula/unifdef.rb index 53d7116b06dbb..eeb04786b00df 100644 --- a/Formula/unifdef.rb +++ b/Formula/unifdef.rb @@ -12,7 +12,7 @@ def install system "make", "prefix=#{prefix}", "install" end - def test + test do system "echo '' | #{bin}/unifdef" end end diff --git a/Formula/uudeview.rb b/Formula/uudeview.rb index e3a22fd269d3e..535a00c56b883 100644 --- a/Formula/uudeview.rb +++ b/Formula/uudeview.rb @@ -17,7 +17,7 @@ def install system "make install" end - def test + test do system "#{bin}/uudeview", "-V" end end diff --git a/Formula/vala.rb b/Formula/vala.rb index 09d9beb6fa897..9a8224663e821 100644 --- a/Formula/vala.rb +++ b/Formula/vala.rb @@ -17,7 +17,7 @@ def install system "make install" end - def test + test do system "#{bin}/valac", "--version" end end diff --git a/Formula/valgrind.rb b/Formula/valgrind.rb index 7431ce09f2c5c..fd383993d83c1 100644 --- a/Formula/valgrind.rb +++ b/Formula/valgrind.rb @@ -68,7 +68,7 @@ def install system "make", "install" end - def test + test do system "#{bin}/valgrind", "ls", "-l" end end diff --git a/Formula/vimpc.rb b/Formula/vimpc.rb index ff51174477b15..57fdc01576593 100644 --- a/Formula/vimpc.rb +++ b/Formula/vimpc.rb @@ -28,7 +28,7 @@ def install system "make install" end - def test + test do system "#{bin}/vimpc", "-v" end end diff --git a/Formula/wait_on.rb b/Formula/wait_on.rb index 9e576a8f0ca82..a4356a651bca1 100644 --- a/Formula/wait_on.rb +++ b/Formula/wait_on.rb @@ -13,7 +13,7 @@ def install man1.install 'wait_on.1.gz' end - def test + test do system "#{bin}/wait_on", "-v" end end diff --git a/Formula/wbox.rb b/Formula/wbox.rb index 05c59d9d5973f..3e2732bdc5623 100644 --- a/Formula/wbox.rb +++ b/Formula/wbox.rb @@ -10,7 +10,7 @@ def install bin.install "wbox" end - def test + test do system "#{bin}/wbox", "www.google.com", "1" end end diff --git a/Formula/wdfs.rb b/Formula/wdfs.rb index e7acddd17fc24..646e509417aa0 100644 --- a/Formula/wdfs.rb +++ b/Formula/wdfs.rb @@ -16,7 +16,7 @@ def install system "make install" end - def test + test do system "#{bin}/wdfs", "-v" end end diff --git a/Formula/web100clt.rb b/Formula/web100clt.rb index 304e94db6d14b..ee8a8da604ff8 100644 --- a/Formula/web100clt.rb +++ b/Formula/web100clt.rb @@ -30,7 +30,7 @@ def install end end - def test + test do system "#{bin}/web100clt", "-v" end end diff --git a/Formula/wget.rb b/Formula/wget.rb index de262e6321bf2..3b22b84f0a43c 100644 --- a/Formula/wget.rb +++ b/Formula/wget.rb @@ -47,7 +47,7 @@ def install system "make install" end - def test + test do system "#{bin}/wget", "-O", "-", "www.google.com" end end diff --git a/Formula/wput.rb b/Formula/wput.rb index ba459e47d8e60..416bf2d6b064a 100644 --- a/Formula/wput.rb +++ b/Formula/wput.rb @@ -19,7 +19,7 @@ def install system "make install" end - def test + test do system "#{bin}/wput", "--version" end end diff --git a/Formula/xclip.rb b/Formula/xclip.rb index 0a18c9c629629..21e4c046ff6a2 100644 --- a/Formula/xclip.rb +++ b/Formula/xclip.rb @@ -12,7 +12,7 @@ def install system "make install" end - def test + test do system "#{bin}/xclip", "-version" end end diff --git a/Formula/xmp.rb b/Formula/xmp.rb index f937d5c55b97e..1ce7de98ff298 100644 --- a/Formula/xmp.rb +++ b/Formula/xmp.rb @@ -31,7 +31,7 @@ def install share.install "ub-name.it" unless build.head? end - def test + test do system "#{bin}/xmp", "--load-only", share/"ub-name.it" end end diff --git a/Formula/xorriso.rb b/Formula/xorriso.rb index 2bff26f5b256b..b22fc6c9844f9 100644 --- a/Formula/xorriso.rb +++ b/Formula/xorriso.rb @@ -12,7 +12,7 @@ def install system "make install" end - def test + test do system "#{bin}/xorriso", "--help" end end diff --git a/Formula/xrootd.rb b/Formula/xrootd.rb index 36e82d0ca8687..06a67e30a88a9 100644 --- a/Formula/xrootd.rb +++ b/Formula/xrootd.rb @@ -15,7 +15,7 @@ def install share.install prefix/'man' end - def test + test do system "#{bin}/xrootd", "-H" end end diff --git a/Formula/xstow.rb b/Formula/xstow.rb index 41e2c46a42255..dc05d35b70758 100644 --- a/Formula/xstow.rb +++ b/Formula/xstow.rb @@ -19,7 +19,7 @@ def install system "make install" end - def test + test do system "#{bin}/xstow", "-Version" end end diff --git a/Formula/xtail.rb b/Formula/xtail.rb index 01515daa58ce8..3fe1a8b51934c 100644 --- a/Formula/xtail.rb +++ b/Formula/xtail.rb @@ -14,7 +14,7 @@ def install system "make install" end - def test + test do system "#{bin}/xtail" end end diff --git a/Formula/yaws.rb b/Formula/yaws.rb index 58049a2c9bc34..7149b83dd32bb 100644 --- a/Formula/yaws.rb +++ b/Formula/yaws.rb @@ -44,7 +44,7 @@ def install (var/'yaws/www').mkpath end - def test + test do system bin/'yaws', '--version' end diff --git a/Formula/youtube-dl.rb b/Formula/youtube-dl.rb index dd118ce617edd..d2d10ce67d5c0 100644 --- a/Formula/youtube-dl.rb +++ b/Formula/youtube-dl.rb @@ -18,7 +18,7 @@ def caveats "To use post-processing options, `brew install ffmpeg`." end - def test + test do system "#{bin}/youtube-dl", '--simulate', 'http://www.youtube.com/watch?v=he2a4xK8ctk' end end diff --git a/Formula/zabbix.rb b/Formula/zabbix.rb index 317eb7b59d165..16c2ec1ba733f 100644 --- a/Formula/zabbix.rb +++ b/Formula/zabbix.rb @@ -52,7 +52,7 @@ def install end end - def test + test do system "#{sbin}/zabbix_agentd", "--print" end end diff --git a/Formula/zsh.rb b/Formula/zsh.rb index bb5a652f962cd..8d0bd7b7370f0 100644 --- a/Formula/zsh.rb +++ b/Formula/zsh.rb @@ -48,7 +48,7 @@ def install system "make", "install.info" end - def test + test do system "#{bin}/zsh", "--version" end