testsuite: parser: add remaining test cases

feature/tap-sh
William Pitcock 2016-11-04 23:14:22 -05:00
parent 8075de1416
commit 20f4a7fcc7
1 changed files with 18 additions and 0 deletions

View File

@ -3,6 +3,8 @@
. $(atf_get_srcdir)/test_env.sh . $(atf_get_srcdir)/test_env.sh
tests_init \ tests_init \
comments \
comments_in_fields \
dos \ dos \
no_trailing_newline \ no_trailing_newline \
argv_parse \ argv_parse \
@ -13,6 +15,22 @@ tests_init \
multiline_field \ multiline_field \
quoted quoted
comments_body()
{
export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \
-o inline:"-lfoo \n" \
pkgconf --libs comments
}
comments_in_fields_body()
{
export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \
-o inline:"-lfoo \n" \
pkgconf --libs comments-in-fields
}
dos_body() dos_body()
{ {
export PKG_CONFIG_PATH="${selfdir}/lib1" export PKG_CONFIG_PATH="${selfdir}/lib1"