8319574: Exec/process tests should be marked as flagless
Reviewed-by: bpb, naoto, jpai
This commit is contained in:
parent
7b971c1fe8
commit
68110b7a82
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2023, 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
|
||||
@ -34,6 +34,7 @@
|
||||
* java.base/java.io:open
|
||||
* java.base/jdk.internal.misc
|
||||
* @requires !vm.musl
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @run main/othervm/native/timeout=300 -Djava.security.manager=allow Basic
|
||||
* @run main/othervm/native/timeout=300 -Djava.security.manager=allow -Djdk.lang.Process.launchMechanism=fork Basic
|
||||
|
@ -25,6 +25,7 @@
|
||||
* @test
|
||||
* @bug 8023130 8166026
|
||||
* @summary Unit test for java.lang.ProcessBuilder inheritance of standard output and standard error streams
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @build jdk.test.lib.process.*
|
||||
* @run testng InheritIOTest
|
||||
|
@ -27,6 +27,7 @@
|
||||
* @bug 8307990
|
||||
* @requires (os.family == "linux") | (os.family == "aix")
|
||||
* @requires vm.debug
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @run main/othervm/timeout=300 JspawnhelperProtocol
|
||||
*/
|
||||
|
@ -40,6 +40,7 @@ import static org.junit.jupiter.api.Assertions.fail;
|
||||
/*
|
||||
* @test
|
||||
* @summary verify logging of ProcessBuilder.start()
|
||||
* @requires vm.flagless
|
||||
* @run junit/othervm ProcessStartLoggingTest
|
||||
*/
|
||||
public class ProcessStartLoggingTest {
|
||||
|
@ -49,6 +49,7 @@ import jtreg.SkippedException;
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @build jdk.test.lib.process.ProcessTools jdk.test.lib.hexdump.HexPrinter
|
||||
* @run testng ReaderWriterTest
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2023, 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
|
||||
@ -24,6 +24,7 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8155808
|
||||
* @requires vm.flagless
|
||||
* @run main SkipTest
|
||||
* @summary verify skip method of Process Input Stream
|
||||
*/
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2023, 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
|
||||
@ -40,6 +40,7 @@ import org.testng.TestNG;
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @modules jdk.management
|
||||
* @build jdk.test.lib.Utils
|
||||
|
@ -44,6 +44,7 @@ import org.testng.annotations.Test;
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* jdk.management
|
||||
|
@ -41,6 +41,7 @@ import static org.junit.jupiter.api.Assertions.fail;
|
||||
/*
|
||||
* @test
|
||||
* @summary verify logging of call to System.exit or Runtime.exit.
|
||||
* @requires vm.flagless
|
||||
* @run junit/othervm RuntimeExitLogTest
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2023, 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
|
||||
@ -25,6 +25,7 @@
|
||||
* @bug 4794652
|
||||
* @summary Ensure that a command argument that contains a space and a final
|
||||
* backslash is handled correctly
|
||||
* @requires vm.flagless
|
||||
*/
|
||||
|
||||
import java.io.*;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 2023, 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
|
||||
@ -24,6 +24,7 @@
|
||||
/* @test
|
||||
@bug 4180429
|
||||
@summary Lossage in dup2 if System.in is closed.
|
||||
@requires vm.flagless
|
||||
@run main/othervm Duped
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2023, 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
|
||||
@ -25,6 +25,7 @@
|
||||
@bug 4033560
|
||||
@summary 4033560 limited args of exec to 198 on Solaris. We check
|
||||
that we can actually exec more args than that.
|
||||
@requires vm.flagless
|
||||
@author Anand Palaniswamy
|
||||
@run main/othervm ExecWithLotsOfArgs
|
||||
*/
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2023, 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
|
||||
@ -25,6 +25,7 @@
|
||||
* @test
|
||||
* @bug 4680945 4873419
|
||||
* @summary Check process exit code
|
||||
* @requires vm.flagless
|
||||
* @author kladko, Martin Buchholz
|
||||
*/
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1999, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1999, 2023, 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
|
||||
@ -27,7 +27,7 @@
|
||||
* @summary Basic functional test for
|
||||
* Runtime.exec(String[] command, String[] env, File path) and
|
||||
* Runtime.exec(String command, String[] env, File path).
|
||||
*
|
||||
* @requires vm.flagless
|
||||
* @library /test/lib
|
||||
* @run testng/othervm SetCwd
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user