[IPP Everywhere Self-Certification] Failure in dnssd-tests.sh for "printer-more-info"

[IPP Everywhere Self-Certification] Failure in dnssd-tests.sh for "printer-more-info"

Kennedy, Smith (Wireless & IPP Standards) smith.kennedy at hp.com
Wed Jul 3 15:39:53 UTC 2024


Hi there,

We have a printer that fails the IPP Everywhere Self-Certification "dnssd-tests.sh" test that uses "dnssd-value-tests.test" and checks  "printer-more-info". The specific failure lines are these:

EXPECTED: printer-more-info WITH-VALUE "http://NPI4E86CF.local/airprint_mob_status.htm"
GOT: printer-more-info="http://NPI4E86CF.local:631/airprint_mob_status.htm"

The issue is that the printer returns a URI that specifies a port number, which means the value is not a character-by-character match for the string expected. I can pursue a firmware fix for this.

But...is this really a failure?

I understand that for a test in "dnssd-value-tests.test" to accept this will require changing the EXPECT statement to analyze the components of the URI:

EXPECT printer-more-info WITH-SCHEME "$ippfind-scheme" WITH-HOSTNAME "$ippfind-hostname" WITH-RESOURCE "$ippfind-resource"

All of the URI components ("$ippfind-scheme", "$ippfind-hostname", "$ippfind-resource") will need to be passed in separately. (ipptool doesn't seem to have an EXPECT predicate for a port number.)

Happy Independence Day! :)

Smith

/**
    Smith Kennedy
    HP Inc.
*/



More information about the ippeveselfcert mailing list