| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 | #! /bin/sh# Copyright (C) 2011-2017 Free Software Foundation, 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, 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, see <http://www.gnu.org/licenses/>.# TAP support: a malformed TAP plan is not recognized.  The checks in# here should be consistent with the behaviour of the 'prove' utility.. test-init.sh. tap-setup.shcat > a.test <<END1..1 fooENDcat > b.test <<END 1..2ok 1ok 2ENDcat > c.test <<END1..1 # SKIPENDcat > d.test <<END1..2 # foo barnot ok 1 # TODOnot ok 2 # TODOENDcat > e.test <<END0..0ENDtests_list=$(echo *.test)run_make -O -e FAIL TESTS="$tests_list" checkcount_test_results total=9 pass=2 fail=0 xpass=0 xfail=2 skip=0 error=5for tst in $tests_list; do  grep "^ERROR: $tst - missing test plan$" stdoutdone:
 |