# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Sanity check for the automake testsuite.
-# Make sure that '$am_using_tap' gets automatically defined by
+# Make sure that '$am_test_protocol' gets automatically defined by
# 'test-defs.sh', but can be overridden by the individual tests.
. test-defs.sh
set -ex
$AM_TEST_RUNNER_SHELL -c \
- ". test-defs.sh && test \$am_using_tap = yes" foo.tap
+ ". test-defs.sh && test \$am_test_protocol = tap" foo.tap
for name in foo.test tap tap.test foo-tap; do
$AM_TEST_RUNNER_SHELL -c \
- ". test-defs.sh && test \$am_using_tap = no" $name
+ ". test-defs.sh && test \$am_test_protocol = none" $name
done
$AM_TEST_RUNNER_SHELL -c "
- am_using_tap=no
+ am_test_protocol=none
. test-defs.sh
- test \$am_using_tap = no
+ test \$am_test_protocol = none
" foo.tap
$AM_TEST_RUNNER_SHELL -c "
- am_using_tap=yes
+ am_test_protocol=tap
. test-defs.sh
- test \$am_using_tap = yes
+ test \$am_test_protocol = tap
" foo.test
: