mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
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
16 lines
468 B
Bash
Executable file
16 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
|
|
}
|