11.1Sjruoho# $NetBSD: t_m4.sh,v 1.1 2012/03/17 16:33:14 jruoho Exp $ 21.1Sjruoho# 31.1Sjruoho# Copyright (c) 2008, 2009 The NetBSD Foundation, Inc. 41.1Sjruoho# All rights reserved. 51.1Sjruoho# 61.1Sjruoho# Redistribution and use in source and binary forms, with or without 71.1Sjruoho# modification, are permitted provided that the following conditions 81.1Sjruoho# are met: 91.1Sjruoho# 1. Redistributions of source code must retain the above copyright 101.1Sjruoho# notice, this list of conditions and the following disclaimer. 111.1Sjruoho# 2. Redistributions in binary form must reproduce the above copyright 121.1Sjruoho# notice, this list of conditions and the following disclaimer in the 131.1Sjruoho# documentation and/or other materials provided with the distribution. 141.1Sjruoho# 151.1Sjruoho# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 161.1Sjruoho# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 171.1Sjruoho# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 181.1Sjruoho# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 191.1Sjruoho# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 201.1Sjruoho# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 211.1Sjruoho# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 221.1Sjruoho# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 231.1Sjruoho# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 241.1Sjruoho# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 251.1Sjruoho# POSSIBILITY OF SUCH DAMAGE. 261.1Sjruoho# 271.1Sjruoho 281.1Sjruohoatf_test_case eof 291.1Sjruohoeof_head() 301.1Sjruoho{ 311.1Sjruoho atf_set "descr" "Checks that m4 doesn't confuse 0xFF with EOF" 321.1Sjruoho} 331.1Sjruohoeof_body() 341.1Sjruoho{ 351.1Sjruoho cp "$(atf_get_srcdir)/d_ff_after_dnl.m4.uue" . 361.1Sjruoho uudecode d_ff_after_dnl.m4.uue 371.1Sjruoho atf_check -o file:"$(atf_get_srcdir)/d_ff_after_dnl.out" \ 381.1Sjruoho m4 d_ff_after_dnl.m4 391.1Sjruoho 401.1Sjruoho atf_check -o file:"$(atf_get_srcdir)/d_m4wrap.out" \ 411.1Sjruoho m4 "$(atf_get_srcdir)/d_m4wrap.m4" 421.1Sjruoho 431.1Sjruoho atf_check -o file:"$(atf_get_srcdir)/d_m4wrap-P.out" \ 441.1Sjruoho m4 -P "$(atf_get_srcdir)/d_m4wrap-P.m4" 451.1Sjruoho} 461.1Sjruoho 471.1Sjruohoatf_init_test_cases() 481.1Sjruoho{ 491.1Sjruoho atf_add_test_case eof 501.1Sjruoho} 51