< prev index next >

test/failure_handler/src/share/conf/solaris.properties

Print this page

        

*** 1,7 **** # ! # Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. --- 1,7 ---- # ! # Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation.
*** 62,72 **** disk \ env \ system.dmesg system.prtconf system.sysdef \ process.ps process.top \ memory.swap memory.vmstat.default memory.vmstat.statistics memory.pagesize \ ! net.netstat.av net.netstat.m net.netstat.s net.netstat.i net.ifconfig ################################################################################ # common unix ################################################################################ users.current.app=id users.current.args=-a --- 62,73 ---- disk \ env \ system.dmesg system.prtconf system.sysdef \ process.ps process.top \ memory.swap memory.vmstat.default memory.vmstat.statistics memory.pagesize \ ! net.netstat.av net.netstat.m net.netstat.s net.netstat.i net.ifconfig \ ! screenshot ################################################################################ # common unix ################################################################################ users.current.app=id users.current.args=-a
*** 108,113 **** --- 109,123 ---- net.netstat.m.args=-m net.netstat.s.args=-s net.netstat.i.args=-i 1 5 net.ifconfig.app=/sbin/ifconfig net.ifconfig.args=-a + + # var robot = new new java.awt.Robot(); + # var ge = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(); + # var bounds = ge.getDefaultScreenDevice().getDefaultConfiguration().getBounds(); + # var file = new java.io.File("screen.png"); + # javax.imageio.ImageIO.write(robot.createScreenCapture(bounds, "png", file); + screenshot.app=bash + screenshot.args=-c\0echo 'javax.imageio.ImageIO.write(new java.awt.Robot().createScreenCapture(java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().getBounds()), "png", new File("screen.png"));' | jshell - + screenshot.args.delimiter=\0 ################################################################################
< prev index next >