[cups.bugs] [LOW] STR #3331: CUPS convenience API failures in LSB testing against cups-1.4.x

Michael Sweet msweet at apple.com
Fri Sep 18 08:50:16 PDT 2009


[STR Closed w/o Resolution]

OK, some feedback on the failed tests:

As documented, cupsAddDest can't be used to create a destination from
nothing. In particular, creating an instance requires that the base
destination (instance == NULL) exist, otherwise we won't add the instance.
The fact that you can add a base destination without the corresponding
print queue to back it up is an implementation side-effect that is not a
documented or guaranteed behavior, and as you've seen we've changed the
underlying implementation over the years which lead to these test
failures...

My advice is to start by getting a list of destinations (cupsGetDests) and
then add an instance to an existing destination - that is the intended
usage of this API.  This will require a little setup when running the
tests, but it looks like you already do that anyways.

Link: http://www.cups.org/str.php?L3331
Version: 1.4-current
Fix Version: Third-party





More information about the cups mailing list