1# $FreeBSD$ 2 3atf_test_case ident 4ident_body() { 5 atf_check -o file:$(atf_get_srcdir)/test.out \ 6 ident < $(atf_get_srcdir)/test.in 7 atf_check -o match:'Foo.*' -s exit:1 \ 8 -e inline:"ident warning: no id keywords in $(atf_get_srcdir)/testnoid\n" \ 9 ident $(atf_get_srcdir)/test.in $(atf_get_srcdir)/testnoid 10 atf_check -o match:'Foo.*' -s exit:1 \ 11 ident -q $(atf_get_srcdir)/test.in $(atf_get_srcdir)/testnoid 12} 13atf_init_test_cases() 14{ 15 atf_add_test_case ident 16} 17