summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2009-12-05Add support for #-commentsAntti-Juhani Kaijanaho3-0/+22
Debian Policy allows, in debian/control, lines that start with the '#'-character. Those lines are treated as comments by Policy, and ignored. This patch adds parser support for these comments in dctrl-tools. Unfortunately, it is not possible (without major changes) to ignore those comments semantically, since dctrl-tools represents paragraphs and fields as substrings of the input file. Accordingly, what this patch does is allow the parser to not choke on comments. Comments found inside a paragraph are left semantically significant (ie. part of the field body in which they are found), while comments otside of paragraphs are elided. Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
2009-12-05Fix Debian bug #559543.Antti-Juhani Kaijanaho3-0/+36
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
2009-08-08Fix Debian bug #511022.Antti-Juhani Kaijanaho3-0/+7
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
2009-01-06New test case for bug #506138 (fails now).Antti-Juhani Kaijanaho2-0/+9
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
2007-12-11grep-dctrl/grep-dctrl.c: don't display a field with an empty valueJon Bernard1-1/+0
Reported by Dan Jacobson <jidanni@jidanni.org> Signed-off-by: Jon Bernard <jbernard@debian.org>
2007-11-07Fix Debian bug #440348Antti-Juhani Kaijanaho2-0/+10
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
2007-08-05join-dctrl: new option '-a'Antti-Juhani Kaijanaho2-0/+28
With this new option, join-dctrl solves the following longstanding wishlist item. Closes: #136097 (grep-dctrl: Merging status and available would be helpful) Requested by Ben Armstrong <synrg@sanctuary.nslug.ns.ca>.
2007-04-11new program join-dctrlAntti-Juhani Kaijanaho4-0/+770
2007-04-11fix 0006 testAntti-Juhani Kaijanaho1-0/+1
2007-04-11grep-dctrl/grep-dctrl.c: fix GET_BACKUP_FIELD for (size_t)-1 on machines ↵Antti-Juhani Kaijanaho2-0/+10
where sizeof(int) != sizeof(size_t)
2007-04-08tests/0005: another simple testAntti-Juhani Kaijanaho2-0/+10163
2007-04-08grep-dctrl: new option --invert-show (-I)Antti-Juhani Kaijanaho2-0/+36
Closes: #144174 (please provide a --filter-fields option of some sort) Reported by Yann Dirson <dirson@debian.org> Merged with #264905 (show all fields except FIELD,FIELD,...) Reported by Dan Jacobson <jidanni@jidanni.org>
2007-04-08tests/0003.{sh,out}: another basic testAntti-Juhani Kaijanaho2-0/+3395
2007-04-08tests/0002.{sh,out}: new basic testAntti-Juhani Kaijanaho2-0/+83871
2007-04-08tests/bug360139.{sh,out}: new test caseAntti-Juhani Kaijanaho2-0/+46
2007-04-08begin a new test suiteAntti-Juhani Kaijanaho3-0/+83903
- Makefile: new target 'test' - tester.sh: new file - tests: new directory - tests/0001.*: new files - a simple basic test case - debian/rules: run the test suite (ignoring any failures) at build time