summaryrefslogtreecommitdiff
path: root/test/4.2-cups-printer-ops.test
diff options
context:
space:
mode:
authorjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2006-02-20 18:43:55 +0000
committerjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2006-02-20 18:43:55 +0000
commitbd7854cb4d663bb0e561eaf5b01bbd47baa71d22 (patch)
treebca042d698732a5e19035c88c6ffc39d80f543f1 /test/4.2-cups-printer-ops.test
parent4400e98de24bd267328aa20d57951fb6678297fe (diff)
downloadcups-bd7854cb4d663bb0e561eaf5b01bbd47baa71d22.tar.gz
Load cups into easysw/current.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@60 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'test/4.2-cups-printer-ops.test')
-rw-r--r--test/4.2-cups-printer-ops.test25
1 files changed, 23 insertions, 2 deletions
diff --git a/test/4.2-cups-printer-ops.test b/test/4.2-cups-printer-ops.test
index 38565cdf4..107123888 100644
--- a/test/4.2-cups-printer-ops.test
+++ b/test/4.2-cups-printer-ops.test
@@ -1,5 +1,5 @@
#
-# "$Id: 4.2-cups-printer-ops.test 4837 2005-11-14 04:13:13Z mike $"
+# "$Id: 4.2-cups-printer-ops.test 5091 2006-02-08 18:39:56Z mike $"
#
# Verify that the CUPS printer operations work.
#
@@ -235,7 +235,28 @@
EXPECT attributes-charset
EXPECT attributes-natural-language
}
+{
+ # The name of the test...
+ NAME "Set Default Printer to Test1"
+
+ # The operation to use
+ OPERATION cups-set-default
+ RESOURCE /admin/
+
+ # The attributes to send
+ GROUP operation
+ ATTR charset attributes-charset utf-8
+ ATTR language attributes-natural-language en
+ ATTR uri printer-uri $method://$hostname:$port/printers/Test1
+
+ # What statuses are OK?
+ STATUS successful-ok
+
+ # What attributes do we expect?
+ EXPECT attributes-charset
+ EXPECT attributes-natural-language
+}
#
-# End of "$Id: 4.2-cups-printer-ops.test 4837 2005-11-14 04:13:13Z mike $"
+# End of "$Id: 4.2-cups-printer-ops.test 5091 2006-02-08 18:39:56Z mike $"
#