X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=tests%2F00-all-fail.gl;fp=tests%2F00-all-fail.gl;h=8fc613220aef5db1a1766717f41d509756c05ae5;hb=bf91d4bb90c84d360609ffb30a68cf8adb5b1448;hp=0000000000000000000000000000000000000000;hpb=490d147a899cb682af67bc5bc3eb64a9ad00985e;p=goals.git diff --git a/tests/00-all-fail.gl b/tests/00-all-fail.gl new file mode 100644 index 0000000..8fc6132 --- /dev/null +++ b/tests/00-all-fail.gl @@ -0,0 +1,21 @@ +# Goals test. +# Copyright (C) 2020 Richard W.M. Jones +# Copyright (C) 2020 Red Hat Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +# If the all goal exits with an error, so should goals. + +goal all = { exit 1 }