~ubuntu-branches/ubuntu/utopic/cups/utopic

« back to all changes in this revision

Viewing changes to test/ipp-1.1.test

  • Committer: Package Import Robot
  • Author(s): Didier Raboud, Till Kamppeter, Steve Langasek, Didier Raboud
  • Date: 2014-01-03 18:42:39 UTC
  • mfrom: (1.3.2)
  • mto: This revision was merged to the branch mainline in revision 142.
  • Revision ID: package-import@ubuntu.com-20140103184239-juzq32ckr7ra49b3
* New 1.7.0 upstream release

[ Till Kamppeter ]
* Refresh most patches with quilt
* Removed usb-backend-do-not-crash-if-usb-disabled-in-bios and
  cupsd-no-crash-on-avahi-threaded-poll-shutdown patches as they got
  applied upstream
* Removed drop-arch-specifics-from-doc patch as it is not needed
  anymore
* Updated drop_unnecessary_dependencies, manpage-hyphen-minus,
  manpage-translations and ppd-poll-with-client-conf patches manually
  to apply to the new CUPS version
* Added error counting exception from
  usb-backend-do-not-crash-if-usb-disabled-in-bios to
  tests-ignore-warnings
* Install the newly added ippfind utility and its manpage in
  cups-client
* Added pwg.h to libcups2-dev package
* Call dh_auto_clean only if the file Makedefs is present, to avoid a
  FTBFS
* Added color management extensions from Joe Simon's GSoC 2013
  project.
* Patch cups-files.conf to activate CUPS daemon syncing of files when
  closing, so that config files (like printers.conf) do not
  mysteriously disappear (LP: #1157972)
* In the AppArmor profile, allow execution of programs in
  /etc/cups/interfaces/, needed to make CUPS working with queues based
  on System V interface scripts, especially PPD-less queues
  auto-generated by cups-browsed from cups-filters 1.0.41 on.
* Silenced AppArmor noise from udev.conf in syslog (LP: #1229766)

[ Steve Langasek ]
* Add cups-filters (>= 1.0.42) as alternative to foomatic-filters
  (which is deprecated) in package relationships

[ Didier Raboud ]
* Remove Roger Leigh from uploaders on his request with thanks for his
  past work!
* Switch avahi LSB Should-Start dependency to be avahi-daemon; also
  bump package relationship to >= 0.6.31-3~ (Closes: #731608)
* Refresh the manpage translation files
* Move the USB backend quirk rules file to cups-server-common
* Add 38 new 1.7.0 libcups2 symbols
* Mark one C++ libcupsppdc1 symbol as optional as it isn't exported in
  1.7.0 anymore
* Import Fedora patches:
  - to avoid sign-extending CRCs in gz decompression
  - to build with full read-only relocations
  - to fix job history logging (upstream patch)
  - to set the internal default for SyncOnClose to Yes, instead of
    only configuring it to Yes
  - to fix a stringpool corruption issue
  - to prevent USB timeouts causing incorrect print output
* Import Fedora patch updates:
  - to dont-use-dbus-from-two-threads patch so it removes a call to
    avahi_threaded_poll_stop()
  - to avoid_stale_lockfile_in_dbus_notifier patch to call _exit when
    handling SIGTERM
* Move manpage-translations patch at the very end of the patch series
  to have it include all our patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#
4
4
#   IPP/1.1 test suite.
5
5
#
6
 
#   Copyright 2007-2012 by Apple Inc.
 
6
#   Copyright 2007-2013 by Apple Inc.
7
7
#   Copyright 2001-2006 by Easy Software Products. All rights reserved.
8
8
#
9
9
#   These coded instructions, statements, and computer programs are the
156
156
        STATUS successful-ok
157
157
        STATUS client-error-document-format-not-supported
158
158
        STATUS server-error-job-canceled
159
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
159
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
160
160
 
161
161
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
162
162
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
324
324
        EXPECT natural-language-configured OF-TYPE naturalLanguage IN-GROUP printer-attributes-tag COUNT 1
325
325
        EXPECT pdl-override-supported OF-TYPE keyword IN-GROUP printer-attributes-tag COUNT 1
326
326
        EXPECT printer-is-accepting-jobs OF-TYPE boolean IN-GROUP printer-attributes-tag COUNT 1
327
 
        EXPECT printer-name OF-TYPE name IN-GROUP printer-attributes-tag COUNT 1 WITH-VALUE "/^.{1,127}$$/"
 
327
        EXPECT printer-name OF-TYPE name IN-GROUP printer-attributes-tag COUNT 1 WITH-VALUE "/^.{0,127}$$/"
328
328
        EXPECT printer-state OF-TYPE enum IN-GROUP printer-attributes-tag COUNT 1 WITH-VALUE 3,4,5
329
329
        EXPECT printer-state-reasons OF-TYPE keyword IN-GROUP printer-attributes-tag
330
330
        EXPECT printer-up-time OF-TYPE integer IN-GROUP printer-attributes-tag COUNT 1 WITH-VALUE >0
833
833
        STATUS successful-ok
834
834
        STATUS client-error-document-format-not-supported
835
835
        STATUS server-error-job-canceled
836
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
836
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
837
837
 
838
838
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
839
839
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
945
945
 
946
946
        STATUS successful-ok
947
947
        STATUS server-error-job-canceled
948
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
948
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
949
949
 
950
950
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
951
951
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1262
1262
        STATUS successful-ok
1263
1263
        STATUS client-error-document-format-not-supported
1264
1264
        STATUS server-error-job-canceled
1265
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1265
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1266
1266
 
1267
1267
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1268
1268
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1300
1300
 
1301
1301
        STATUS successful-ok
1302
1302
        STATUS server-error-job-canceled
1303
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1303
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1304
1304
 
1305
1305
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1306
1306
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1338
1338
 
1339
1339
        STATUS successful-ok
1340
1340
        STATUS server-error-job-canceled
1341
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1341
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1342
1342
 
1343
1343
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1344
1344
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1374
1374
 
1375
1375
        STATUS successful-ok
1376
1376
        STATUS server-error-job-canceled
1377
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1377
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1378
1378
 
1379
1379
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1380
1380
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1412
1412
 
1413
1413
        STATUS successful-ok
1414
1414
        STATUS server-error-job-canceled
1415
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1415
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1416
1416
 
1417
1417
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1418
1418
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1450
1450
 
1451
1451
        STATUS successful-ok
1452
1452
        STATUS server-error-job-canceled
1453
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1453
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1454
1454
 
1455
1455
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1456
1456
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1488
1488
 
1489
1489
        STATUS successful-ok
1490
1490
        STATUS server-error-job-canceled
1491
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1491
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1492
1492
 
1493
1493
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1494
1494
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1524
1524
 
1525
1525
        STATUS successful-ok
1526
1526
        STATUS server-error-job-canceled
1527
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1527
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1528
1528
 
1529
1529
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1530
1530
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1562
1562
 
1563
1563
        STATUS successful-ok
1564
1564
        STATUS server-error-job-canceled
1565
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1565
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1566
1566
 
1567
1567
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1568
1568
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1600
1600
 
1601
1601
        STATUS successful-ok
1602
1602
        STATUS server-error-job-canceled
1603
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1603
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1604
1604
 
1605
1605
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1606
1606
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1636
1636
 
1637
1637
        STATUS successful-ok
1638
1638
        STATUS server-error-job-canceled
1639
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1639
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1640
1640
 
1641
1641
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1642
1642
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1672
1672
 
1673
1673
        STATUS successful-ok
1674
1674
        STATUS server-error-job-canceled
1675
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1675
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1676
1676
 
1677
1677
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1678
1678
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1708
1708
 
1709
1709
        STATUS successful-ok
1710
1710
        STATUS server-error-job-canceled
1711
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1711
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1712
1712
 
1713
1713
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1714
1714
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1744
1744
 
1745
1745
        STATUS successful-ok
1746
1746
        STATUS server-error-job-canceled
1747
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1747
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1748
1748
 
1749
1749
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1750
1750
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1780
1780
 
1781
1781
        STATUS successful-ok
1782
1782
        STATUS server-error-job-canceled
1783
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1783
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1784
1784
 
1785
1785
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1786
1786
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1820
1820
 
1821
1821
        STATUS successful-ok
1822
1822
        STATUS server-error-job-canceled
1823
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1823
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1824
1824
 
1825
1825
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1826
1826
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1858
1858
 
1859
1859
        STATUS successful-ok
1860
1860
        STATUS server-error-job-canceled
1861
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1861
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1862
1862
 
1863
1863
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1864
1864
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1896
1896
 
1897
1897
        STATUS successful-ok
1898
1898
        STATUS server-error-job-canceled
1899
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1899
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1900
1900
 
1901
1901
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1902
1902
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1934
1934
 
1935
1935
        STATUS successful-ok
1936
1936
        STATUS server-error-job-canceled
1937
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1937
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1938
1938
 
1939
1939
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1940
1940
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
1974
1974
 
1975
1975
        STATUS successful-ok
1976
1976
        STATUS server-error-job-canceled
1977
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
1977
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
1978
1978
 
1979
1979
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
1980
1980
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
2012
2012
 
2013
2013
        STATUS successful-ok
2014
2014
        STATUS server-error-job-canceled
2015
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
2015
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
2016
2016
 
2017
2017
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
2018
2018
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
2050
2050
 
2051
2051
        STATUS successful-ok
2052
2052
        STATUS server-error-job-canceled
2053
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
2053
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
2054
2054
 
2055
2055
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
2056
2056
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
2088
2088
 
2089
2089
        STATUS successful-ok
2090
2090
        STATUS server-error-job-canceled
2091
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
2091
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
2092
2092
 
2093
2093
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
2094
2094
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
2128
2128
 
2129
2129
        STATUS successful-ok
2130
2130
        STATUS server-error-job-canceled
2131
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
2131
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
2132
2132
 
2133
2133
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
2134
2134
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
2166
2166
 
2167
2167
        STATUS successful-ok
2168
2168
        STATUS server-error-job-canceled
2169
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
2169
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
2170
2170
 
2171
2171
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
2172
2172
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
2204
2204
 
2205
2205
        STATUS successful-ok
2206
2206
        STATUS server-error-job-canceled
2207
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
2207
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
2208
2208
 
2209
2209
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
2210
2210
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
2242
2242
 
2243
2243
        STATUS successful-ok
2244
2244
        STATUS server-error-job-canceled
2245
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
2245
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
2246
2246
 
2247
2247
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
2248
2248
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
2280
2280
 
2281
2281
        STATUS successful-ok
2282
2282
        STATUS server-error-job-canceled
2283
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
2283
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
2284
2284
 
2285
2285
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
2286
2286
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag
2315
2315
 
2316
2316
        STATUS successful-ok
2317
2317
        STATUS server-error-job-canceled
2318
 
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 10
 
2318
        STATUS server-error-busy REPEAT-MATCH REPEAT-LIMIT 30
2319
2319
 
2320
2320
        EXPECT job-uri OF-TYPE uri COUNT 1 IN-GROUP job-attributes-tag WITH-VALUE "$IPP_URI_SCHEME"
2321
2321
        EXPECT job-id OF-TYPE integer COUNT 1 IN-GROUP job-attributes-tag