]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add files to ignore.
authorMichael Sweet <michael.r.sweet@gmail.com>
Fri, 16 Jun 2017 21:07:52 +0000 (17:07 -0400)
committerMichael Sweet <michael.r.sweet@gmail.com>
Fri, 16 Jun 2017 21:07:52 +0000 (17:07 -0400)
Add manual feed test file.

.gitignore
test/print-job-manual.test [new file with mode: 0644]

index 25df119a03eadf6a0a9b8dd8a3bcc31e986596c0..5023257dbf9b69e7da9872edd9bbe04a215e4c05 100644 (file)
@@ -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 (file)
index 0000000..1578228
--- /dev/null
@@ -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
+}