Skip to content

Commit 9d69bfb

Browse files
Roger Riggspull[bot]
authored andcommitted
8319574: Exec/process tests should be marked as flagless
Reviewed-by: bpb, naoto, jpai
1 parent eb7de5b commit 9d69bfb

14 files changed

+22
-9
lines changed

test/jdk/java/lang/ProcessBuilder/Basic.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -34,6 +34,7 @@
3434
* java.base/java.io:open
3535
* java.base/jdk.internal.misc
3636
* @requires !vm.musl
37+
* @requires vm.flagless
3738
* @library /test/lib
3839
* @run main/othervm/native/timeout=300 -Djava.security.manager=allow Basic
3940
* @run main/othervm/native/timeout=300 -Djava.security.manager=allow -Djdk.lang.Process.launchMechanism=fork Basic

test/jdk/java/lang/ProcessBuilder/InheritIOTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* @test
2626
* @bug 8023130 8166026
2727
* @summary Unit test for java.lang.ProcessBuilder inheritance of standard output and standard error streams
28+
* @requires vm.flagless
2829
* @library /test/lib
2930
* @build jdk.test.lib.process.*
3031
* @run testng InheritIOTest

test/jdk/java/lang/ProcessBuilder/JspawnhelperProtocol.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* @bug 8307990
2828
* @requires (os.family == "linux") | (os.family == "aix")
2929
* @requires vm.debug
30+
* @requires vm.flagless
3031
* @library /test/lib
3132
* @run main/othervm/timeout=300 JspawnhelperProtocol
3233
*/

test/jdk/java/lang/ProcessBuilder/ProcessStartLoggingTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
/*
4141
* @test
4242
* @summary verify logging of ProcessBuilder.start()
43+
* @requires vm.flagless
4344
* @run junit/othervm ProcessStartLoggingTest
4445
*/
4546
public class ProcessStartLoggingTest {

test/jdk/java/lang/ProcessBuilder/ReaderWriterTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
/*
5151
* @test
52+
* @requires vm.flagless
5253
* @library /test/lib
5354
* @build jdk.test.lib.process.ProcessTools jdk.test.lib.hexdump.HexPrinter
5455
* @run testng ReaderWriterTest

test/jdk/java/lang/ProcessBuilder/SkipTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,7 @@
2424
/*
2525
* @test
2626
* @bug 8155808
27+
* @requires vm.flagless
2728
* @run main SkipTest
2829
* @summary verify skip method of Process Input Stream
2930
*/

test/jdk/java/lang/ProcessHandle/OnExitTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -40,6 +40,7 @@
4040

4141
/*
4242
* @test
43+
* @requires vm.flagless
4344
* @library /test/lib
4445
* @modules jdk.management
4546
* @build jdk.test.lib.Utils

test/jdk/java/lang/ProcessHandle/TreeTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444

4545
/*
4646
* @test
47+
* @requires vm.flagless
4748
* @library /test/lib
4849
* @modules java.base/jdk.internal.misc
4950
* jdk.management

test/jdk/java/lang/RuntimeTests/RuntimeExitLogTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
/*
4242
* @test
4343
* @summary verify logging of call to System.exit or Runtime.exit.
44+
* @requires vm.flagless
4445
* @run junit/othervm RuntimeExitLogTest
4546
*/
4647

test/jdk/java/lang/RuntimeTests/exec/ArgWithSpaceAndFinalBackslash.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -25,6 +25,7 @@
2525
* @bug 4794652
2626
* @summary Ensure that a command argument that contains a space and a final
2727
* backslash is handled correctly
28+
* @requires vm.flagless
2829
*/
2930

3031
import java.io.*;

0 commit comments

Comments
 (0)