diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-04-26 11:05:27 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-04-26 11:05:27 -0400 |
commit | f1ac9f5889e6a9a8996041ab46e6ca1e0cb8a238 (patch) | |
tree | b28d47f3580aa4ea386b7a09c6c6340f16cdbd80 /examples/get-job-attributes.test | |
parent | a76950482b3327f096e7188234173d739101aef1 (diff) | |
download | cups-f1ac9f5889e6a9a8996041ab46e6ca1e0cb8a238.tar.gz |
Move example ipptool files to the examples directory.
Build tools directory for IPP tools.
Diffstat (limited to 'examples/get-job-attributes.test')
-rw-r--r-- | examples/get-job-attributes.test | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/get-job-attributes.test b/examples/get-job-attributes.test new file mode 100644 index 000000000..c40e242ce --- /dev/null +++ b/examples/get-job-attributes.test @@ -0,0 +1,27 @@ +# Test get-job-attributes by sending a print job, getting the attributes, +# and cancelling it. +{ + # The name of the test... + NAME "Get job info with get-job-attributes" + + # The resource to use for the POST + # RESOURCE /admin + + # The operation to use + OPERATION get-job-attributes + + # Attributes, starting in the operation group... + GROUP operation + ATTR charset attributes-charset utf-8 + ATTR language attributes-natural-language en + ATTR uri job-uri $uri +# ATTR keyword requested-attributes job-media-sheets-completed,job-state + + # What statuses are OK? + #STATUS successful-ok + #STATUS successful-ok-ignored-or-substituted-attributes + + # What attributes do we expect? + EXPECT job-uri + EXPECT job-state +} |