equal
deleted
inserted
replaced
1 #!/bin/sh |
1 #!/bin/sh |
2 |
2 |
3 # |
3 # |
4 # Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. |
4 # Copyright (c) 2008, 2017, Oracle and/or its affiliates. All rights reserved. |
5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
6 # |
6 # |
7 # This code is free software; you can redistribute it and/or modify it |
7 # This code is free software; you can redistribute it and/or modify it |
8 # under the terms of the GNU General Public License version 2 only, as |
8 # under the terms of the GNU General Public License version 2 only, as |
9 # published by the Free Software Foundation. |
9 # published by the Free Software Foundation. |
22 # or visit www.oracle.com if you need additional information or have any |
22 # or visit www.oracle.com if you need additional information or have any |
23 # questions. |
23 # questions. |
24 # |
24 # |
25 |
25 |
26 # @test |
26 # @test |
|
27 # @key printer |
27 # @bug 6662775 |
28 # @bug 6662775 |
28 # @summary Tests queuePrintJob is sufficient permission. |
29 # @summary Tests queuePrintJob is sufficient permission for printing. This test |
|
30 # prints a page to a printer. If a document printer is installed, a |
|
31 # popup can appear (to select the file location). |
29 # @run clean PrintSE |
32 # @run clean PrintSE |
30 # @run build PrintSE |
33 # @run build PrintSE |
31 # @run compile PrintSE.java |
34 # @run compile PrintSE.java |
32 # @run shell/timeout=300 PrintSE.sh |
35 # @run shell/timeout=300 PrintSE.sh |
33 |
36 |