From f3a19954646a11ff9d8dd2c03e129be28635b5af Mon Sep 17 00:00:00 2001 From: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Date: Fri, 5 Feb 2021 12:50:30 +0000 Subject: [PATCH] glyr: fix test, update license This fixes CI failures found in #66450, #70319, #70419, etc. Also, update the license. From src/glyrc/glryc.c: /*********************************************************** * This file is part of glyr * + a commnadline tool and library to download various sort of music related metadata. * + Copyright (C) [2011] [Christopher Pahl] * + Hosted at: https://github.com/sahib/glyr * * glyr is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * glyr is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with glyr. If not, see . **************************************************************/ --- Formula/glyr.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/glyr.rb b/Formula/glyr.rb index 0abd4edb0a573..da263620ed34f 100644 --- a/Formula/glyr.rb +++ b/Formula/glyr.rb @@ -3,7 +3,7 @@ class Glyr < Formula homepage "https://github.com/sahib/glyr" url "https://github.com/sahib/glyr/archive/1.0.10.tar.gz" sha256 "77e8da60221c8d27612e4a36482069f26f8ed74a1b2768ebc373c8144ca806e8" - license "LGPL-3.0" + license "LGPL-3.0-or-later" revision 1 bottle do @@ -26,8 +26,8 @@ def install end test do - search = "--artist Beatles --album \"Please Please Me\"" - cmd = "#{bin}/glyrc cover --no-download #{search} -w stdout" - assert_match %r{^https?://}, pipe_output(cmd, nil, 0) + search = "--artist Beatles --title 'Eight Days A Week'" + cmd = "#{bin}/glyrc lyrics --no-download #{search} -w stdout" + assert_match /love you all the time/i, pipe_output(cmd, nil, 0) end end