<Swing Dev> [12] Review Request: JDK-8212903 : [TestBug] Tests test/jdk/javax/swing/LookAndFeel/8145547/DemandGTK2.sh and DemandGTK3.sh fail on Ubuntu 18.04 LTS

Pankaj Bansal pankaj.b.bansal at oracle.com
Tue Oct 30 11:00:10 UTC 2018


Hi All, Please review test fix for the below bug:

 

Bug: https://bugs.openjdk.java.net/browse/JDK-8212903

webrev: http://cr.openjdk.java.net/~pbansal/8212903/webrev.00/

 

 

Issue:

The tests DemandGTK2.sh and DemandGTK3.sh verify whether a particular version of gtk library is being used or not while using the GTKLookAndFeel. They use "strace" to find which gtk library has been opened by tracing the system command used to load the libraries. Currently, these tests are tracing the "open" which is used to open the library on Ubuntu 16.04 LTS. 

These tests are failing on Ubuntu 18.04 LTS as the "openat"  command is used to open the libs instead of "open". So the "openat" should be traced on 18.04 LTS.

 

Fix:

Made changes to the tests to trace both "open" and "openat". The tests now pass on both Ubuntu 16.04 LTS and 18.04 LTS.

 

 

Regards,
Pankaj Bansal

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20181030/fdebb4ce/attachment.html>


More information about the swing-dev mailing list