5ad4f59bfb
naming scheme usr.bin/diff/diff_test was renamed to usr.bin/diff/netbsd_diff_test to avoid collisions with the renamed FreeBSD test. MFC after: 1 week Sponsored by: Dell EMC Isilon
17 lines
468 B
Bash
Executable File
17 lines
468 B
Bash
Executable File
# $FreeBSD$
|
|
|
|
atf_test_case ident
|
|
ident_body() {
|
|
atf_check -o file:$(atf_get_srcdir)/test.out \
|
|
ident < $(atf_get_srcdir)/test.in
|
|
atf_check -o match:'Foo.*' -s exit:1 \
|
|
-e inline:"ident warning: no id keywords in $(atf_get_srcdir)/testnoid\n" \
|
|
ident $(atf_get_srcdir)/test.in $(atf_get_srcdir)/testnoid
|
|
atf_check -o match:'Foo.*' -s exit:1 \
|
|
ident -q $(atf_get_srcdir)/test.in $(atf_get_srcdir)/testnoid
|
|
}
|
|
atf_init_test_cases()
|
|
{
|
|
atf_add_test_case ident
|
|
}
|