RFR: 8366359: Test should throw SkippedException when there is no lpstat
Phil Race
prr at openjdk.org
Thu Aug 28 22:25:45 UTC 2025
On Thu, 28 Aug 2025 14:24:19 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
>
> I think test javax/print/PrintServiceLookup/CountPrintServices.java should throw jtreg.SkippedException when there is no lpstat, rather that report test failure.
>
> Only javax/print/PrintServiceLookup/CountPrintServices.java invoke lpstat explicitly.
>
> Change has been verified locally, test-fix only, no risk.
test/jdk/javax/print/PrintServiceLookup/CountPrintServices.java line 35:
> 33: * @bug 8032693
> 34: * @key printer
> 35: * @library /test/lib/
GitHub isn't letting me click to comment on the line I want to but this test looks like another one that should require(os == linux)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26988#discussion_r2308673597
More information about the client-libs-dev
mailing list