1282339Sbapt# $FreeBSD: stable/11/usr.bin/col/tests/col_test.sh 316256 2017-03-30 06:20:24Z ngie $ 2282339Sbapt 3282339Sbaptatf_test_case rlf 4282339Sbapt 5282339Sbaptrlf_head() 6282339Sbapt{ 7282339Sbapt atf_set "descr" "testing reverse line feed" 8282339Sbapt} 9282339Sbaptrlf_body() 10282339Sbapt{ 11282339Sbapt atf_check \ 12282339Sbapt -o inline:"a b\n" \ 13282339Sbapt -e empty \ 14282339Sbapt -s exit:0 \ 15282339Sbapt col < $(atf_get_srcdir)/rlf.in 16282339Sbapt 17282339Sbapt atf_check \ 18282341Sbapt -o inline:"a b\n" \ 19282339Sbapt -e empty \ 20282339Sbapt -s exit:0 \ 21282339Sbapt col < $(atf_get_srcdir)/rlf2.in 22282339Sbapt 23282339Sbapt atf_check \ 24282341Sbapt -o inline:"a b\n" \ 25282339Sbapt -e empty \ 26282339Sbapt -s exit:0 \ 27282339Sbapt col -x < $(atf_get_srcdir)/rlf2.in 28282339Sbapt} 29282339Sbapt 30282339Sbaptatf_init_test_cases() 31282339Sbapt{ 32282339Sbapt atf_add_test_case rlf 33282339Sbapt} 34