Skip to content
Permalink
Browse files
8269025: jsig/Testjsig.java doesn't check exit code
Reviewed-by: hseigel
  • Loading branch information
iignatev committed Jun 18, 2021
1 parent dab00ee commit 60389eedb3c9932de57aca740a8116db83302ffa
Showing 1 changed file with 2 additions and 1 deletion.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 2021, 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
@@ -53,6 +53,7 @@ public static void main(String[] args) throws Throwable {

// Start the process and check the output
OutputAnalyzer output = new OutputAnalyzer(pb.start());
output.shouldHaveExitValue(0);
output.shouldContain("old handler");
}
}

0 comments on commit 60389ee

Please sign in to comment.