Hash :
a017bc08
Author :
Date :
2011-08-01T19:10:41
testsuite: separate the only failing check of an xfailing test * tests/plan-bad-prog.test: Move the only failing check of this test (i.e., the one about the total number of "ERROR" outcomes) into ... * tests/plan-bad-prog2.test: ... this new test. * tests/Makefile.am (XFAIL_TESTS): Remove `plan-bad-prog.test', add `plan-bad-prog2.test'. (tap_other_tests): Add `plan-bad-prog2.test'. (plan-bad-prog2.log): Depend on `plan-bad-prog.test'.
#! /bin/sh
# Copyright (C) 2011 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:
# - missing, unreadable, or not-executable test scripts cause the
# proper amount of "ERROR" results
. ./defs || Exit 1
# For this test, we completely rely on the data obtained by sister test
# `tap-bad-prog.test'.
cp ../tap-bad-prog.dir/stdout . \
|| fatal_ "can't get data from sister test 'test-bad-prog'"
cat stdout
count_test_results total=3 pass=0 fail=0 xpass=0 xfail=0 skip=0 error=3
: