]>
Commit | Line | Data |
---|---|---|
d1c13e16 MS |
1 | # |
2 | # "$Id: 4.4-subscription-ops.test 4840 2005-11-14 21:53:30Z mike $" | |
3 | # | |
4 | # Verify that the CUPS subscription operations work. | |
5 | # | |
6 | { | |
7 | # The name of the test... | |
8 | NAME "Add Printer Subscription w/Lease" | |
9 | ||
10 | # The operation to use | |
11 | OPERATION Create-Printer-Subscription | |
12 | RESOURCE / | |
13 | ||
14 | # The attributes to send | |
15 | GROUP operation | |
16 | ATTR charset attributes-charset utf-8 | |
17 | ATTR language attributes-natural-language en | |
18 | ATTR uri printer-uri $uri | |
19 | ||
20 | GROUP subscription | |
21 | ATTR uri notify-recipient testnotify://nowait | |
22 | ATTR keyword notify-events printer-state-changed | |
23 | ||
24 | # What statuses are OK? | |
25 | STATUS successful-ok | |
26 | ||
27 | # What attributes do we expect? | |
28 | EXPECT attributes-charset | |
29 | EXPECT attributes-natural-language | |
30 | EXPECT notify-subscription-id | |
31 | DISPLAY notify-subscription-id | |
32 | } | |
33 | ||
34 | # | |
35 | # End of "$Id: 4.4-subscription-ops.test 4840 2005-11-14 21:53:30Z mike $" | |
36 | # |