From a537431a13268b645c9e9e3dd0cd7842bb3f6fc4 Mon Sep 17 00:00:00 2001 From: Michael Sweet Date: Fri, 16 Jun 2017 17:07:52 -0400 Subject: [PATCH] Add files to ignore. Add manual feed test file. --- .gitignore | 2 +- test/print-job-manual.test | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 test/print-job-manual.test diff --git a/.gitignore b/.gitignore index 25df119a0..5023257db 100644 --- a/.gitignore +++ b/.gitignore @@ -144,7 +144,7 @@ systemv/reject templates/header.tmpl templates/*/header.tmpl test/cups-str-*.html -test/error_log-* +test/*_log-* test/ippfind test/ippfind-static test/ippserver diff --git a/test/print-job-manual.test b/test/print-job-manual.test new file mode 100644 index 000000000..157822833 --- /dev/null +++ b/test/print-job-manual.test @@ -0,0 +1,37 @@ +# Print a test page using print-job +{ + # The name of the test... + NAME "Print file using Print-Job" + + # The operation to use + OPERATION Print-Job + + # Attributes, starting in the operation group... + GROUP operation-attributes-tag + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri printer-uri $uri + ATTR name requesting-user-name $user + ATTR mimeMediaType document-format $filetype + + GROUP job-attributes-tag + ATTR integer copies 1 + ATTR collection media-col { + MEMBER keyword media-source manual + MEMBER collection media-size { + MEMBER integer x-dimension 21590 + MEMBER integer y-dimension 27940 + } + } + ATTR keyword print-scaling none + + FILE $filename + + # What statuses are OK? + STATUS successful-ok + STATUS successful-ok-ignored-or-substituted-attributes + + # What attributes do we expect? + EXPECT job-id + EXPECT job-uri +} -- 2.39.5