diff options
author | Jay Berkenbilt <ejb@ql.org> | 2009-07-15 06:26:32 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2009-07-15 06:26:32 +0200 |
commit | fe18385ffaa7e5b11db86af1e992c0fb1984609a (patch) | |
tree | 132e8e04227971809c592a680d0dc497a2c677a4 /examples/qtest/mod-info.test | |
parent | 86f2d3449c651674b92b1249186375ad821f9017 (diff) | |
download | qpdf-fe18385ffaa7e5b11db86af1e992c0fb1984609a.tar.zst |
clean up windows portability code, make remaining test suite pass
git-svn-id: svn+q:///qpdf/trunk@686 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'examples/qtest/mod-info.test')
-rw-r--r-- | examples/qtest/mod-info.test | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/examples/qtest/mod-info.test b/examples/qtest/mod-info.test index 29a72475..90db6276 100644 --- a/examples/qtest/mod-info.test +++ b/examples/qtest/mod-info.test @@ -18,32 +18,38 @@ cleanup(); $td->runtest("usage #1", {$td->COMMAND => "$prg -in target.pdf"}, {$td->FILE => "usage.out", - $td->EXIT_STATUS => 2}); + $td->EXIT_STATUS => 2}, + $td->NORMALIZE_NEWLINES); $td->runtest("usage #2", {$td->COMMAND => "$prg -key abc -val def"}, {$td->FILE => "usage.out", - $td->EXIT_STATUS => 2}); + $td->EXIT_STATUS => 2}, + $td->NORMALIZE_NEWLINES); $td->runtest("usage #3", {$td->COMMAND => "$prg -key abc -val def abc"}, {$td->FILE => "usage.out", - $td->EXIT_STATUS => 2}); + $td->EXIT_STATUS => 2}, + $td->NORMALIZE_NEWLINES); $td->runtest("usage #4", {$td->COMMAND => "$prg -in source1.pdf -key /date -val 01/01/01 -val 12/12/12"}, {$td->FILE => "usage.out", - $td->EXIT_STATUS => 2}); + $td->EXIT_STATUS => 2}, + $td->NORMALIZE_NEWLINES); $td->runtest("dump #1", {$td->COMMAND => "$prg --dump -in files/source1.pdf"}, {$td->FILE => "dump.out", - $td->EXIT_STATUS => 0}); + $td->EXIT_STATUS => 0}, + $td->NORMALIZE_NEWLINES); $td->runtest("dump #2", {$td->COMMAND => "$prg --dump -in files/no-info.pdf"}, {$td->STRING => "", - $td->EXIT_STATUS => 0}); + $td->EXIT_STATUS => 0}, + $td->NORMALIZE_NEWLINES); $td->runtest("dump #3", {$td->COMMAND => "$prg --dump -in files/empty-info.pdf"}, |