Skip to content
This repository has been archived by the owner. It is now read-only.
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");
}
}

1 comment on commit 60389ee

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 60389ee Jun 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.