X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=tests%2F00-empty-goalfile.sh;fp=tests%2F00-empty-goalfile.sh;h=71b560d3a97f0e49927534654603eb9590ec3a85;hb=2eb51edbee2ed214e23a765ad72e53348476b243;hp=0000000000000000000000000000000000000000;hpb=017d19bf31e5e4d15423fe7c8068b50034b919a3;p=goals.git diff --git a/tests/00-empty-goalfile.sh b/tests/00-empty-goalfile.sh new file mode 100755 index 0000000..71b560d --- /dev/null +++ b/tests/00-empty-goalfile.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +# 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. + +# Test that goals works with an empty Goalfile (except for the +# mandatory "all" goal). + +goals -f 00-empty-goalfile.gl