William Pitcock
cf96c562e1
libpkgconf: argvsplit: fix escape handling in tokenizer ( closes #163 )
2017-12-14 22:41:14 -06:00
William Pitcock
6073a49229
tests: add testcases for #163
2017-12-14 22:13:19 -06:00
William Pitcock
278a2bd667
libpkgconf: fragment: rework quoting and lexing ( closes #139 , #153 )
...
we now use POSIX-style quoting for all fragments. it is our belief that this is the
most optimal behaviour for portability, because all POSIX-compliant tools require
single-quotes to be considered as literal (closes #153 ).
because of this, we are able to remove some hacks on the lexer side which were there
to simulate pkg-config quoting, but were basically utterly wrong (closes #139 ).
2017-12-11 18:25:55 -06:00
William Pitcock
7b1fac4c99
tests: remove fragment-quoting-4 and fragment-quoting-6 tests as they are not relevant anymore
2017-12-11 17:41:08 -06:00
William Pitcock
95b68f7c02
tests: add testcase for #140
2017-09-23 00:08:12 -05:00
William Pitcock
77ca17b6ff
tests: back out go-style test, just verify the output because shells are terrible
2017-03-29 18:00:10 -05:00
William Pitcock
f5ce5fd755
testsuite: add a parser test from Go (redhat #1437101 )
2017-03-29 16:58:04 -05:00
William Pitcock
3744a84380
testsuite: parser testcase output changes a little because we escape when running as pkgconf CLI now
2017-02-25 15:33:41 -06:00
William Pitcock
a3fa9732b3
testsuite: add testsuite cases for inverse quoting situations
2017-02-25 13:57:38 -06:00
William Pitcock
d558e30ab3
libpkgconf: argvsplit: quoting logic was simplified too much
2017-02-07 10:25:38 -06:00
William Pitcock
2dcd749601
main: remove whitespace added for compatibility with older pkg-config ( closes #113 )
2017-02-07 10:11:12 -06:00
William Pitcock
02ad6d1ab9
testsuite: add regression test for #111
2017-02-03 12:58:11 -06:00
William Pitcock
8b043a10ce
testsuite: add tests for variable whitespace
2017-01-26 12:55:48 -06:00
William Pitcock
951a844c94
tests: add tests for the fragment mergeback changes
2016-12-30 12:45:29 -06:00
William Pitcock
20f4a7fcc7
testsuite: parser: add remaining test cases
2016-11-04 23:14:22 -05:00
Baptiste Daroussin
5c2bee67f7
Add Kyua tests
2016-09-18 23:29:30 +02:00