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
tests_init \
comments \
comments_in_fields \
dos \
no_trailing_newline \
argv_parse \
@ -13,6 +15,22 @@ tests_init \
multiline_field \
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()
{
export PKG_CONFIG_PATH="${selfdir}/lib1"