diff options
author | jlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2006-07-20 22:59:35 +0000 |
---|---|---|
committer | jlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2006-07-20 22:59:35 +0000 |
commit | 8ca02f3c0539293422509d03219786fb6d7db48b (patch) | |
tree | 20bd0e2739f7c6cadc7c70be3831505d59466e08 /cups/testipp.c | |
parent | f7faf1f5c3235dfa4f883522da7dc6446f028247 (diff) |
Load cups into easysw/current.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@194 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/testipp.c')
-rw-r--r-- | cups/testipp.c | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/cups/testipp.c b/cups/testipp.c index 07bcdffc0..6975cb054 100644 --- a/cups/testipp.c +++ b/cups/testipp.c @@ -1,5 +1,5 @@ /* - * "$Id: testipp.c 5023 2006-01-29 14:39:44Z mike $" + * "$Id: testipp.c 5753 2006-07-18 19:53:24Z mike $" * * IPP test program for the Common UNIX Printing System (CUPS). * @@ -36,7 +36,7 @@ #include <stdlib.h> #include <cups/string.h> #include <errno.h> -#include "ipp.h" +#include "ipp-private.h" #ifdef WIN32 # include <io.h> #else @@ -283,6 +283,19 @@ main(int argc, /* I - Number of command-line arguments */ ippDelete(request); /* + * Test _ippFindOption() private API... + */ + + fputs("_ippFindOption(\"printer-type\"): ", stdout); + if (_ippFindOption("printer-type")) + puts("PASS"); + else + { + puts("FAIL"); + status = 1; + } + + /* * Summarize... */ @@ -645,5 +658,5 @@ write_cb(void *data, /* I - Data */ /* - * End of "$Id: testipp.c 5023 2006-01-29 14:39:44Z mike $". + * End of "$Id: testipp.c 5753 2006-07-18 19:53:24Z mike $". */ |