From 20f4a7fcc71109b740695db44d39154a1f29a063 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 4 Nov 2016 23:14:22 -0500 Subject: [PATCH] testsuite: parser: add remaining test cases --- tests/parser.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/parser.sh b/tests/parser.sh index 1ed0f80..f718bc7 100755 --- a/tests/parser.sh +++ b/tests/parser.sh @@ -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"