We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bd519e commit 2477adfCopy full SHA for 2477adf
test/jdk/java/io/Console/RestoreEchoTest.java
@@ -32,8 +32,8 @@
32
33
import jdk.test.lib.process.OutputAnalyzer;
34
import jdk.test.lib.process.ProcessTools;
35
-import jtreg.SkippedException;
36
+import org.junit.jupiter.api.Assumptions;
37
import org.junit.jupiter.api.Test;
38
import org.junit.jupiter.api.condition.EnabledOnOs;
39
import org.junit.jupiter.api.condition.OS;
@@ -57,7 +57,7 @@ public void testRestoreEcho() throws Throwable {
57
// check "expect" command availability
58
var expect = Paths.get("/usr/bin/expect");
59
if (!Files.exists(expect) || !Files.isExecutable(expect)) {
60
- throw new SkippedException("'" + expect + "' not found");
+ Assumptions.abort("'" + expect + "' not found");
61
}
62
63
expectRunner("false");
0 commit comments