test: add Debugger.setInstrumentationBreakpoint known issue

PR-URL: https://github.com/nodejs/node/pull/31137
Refs: https://github.com/nodejs/node/issues/31138
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Konstantin Ulitin authored and GitHub committed 2024-05-12 22:33:07 +02:00
1 parent 91d30f35c4
commit 291c1211f2
4 files changed
+58 -1

No files matched your search

+2 -1
View File
@@ -603,7 +603,8 @@ function printSkipMessage(msg) {
function skip(msg) {
printSkipMessage(msg);
process.exit(0);
// In known_issues test, skipping should produce a non-zero exit code.
process.exit(require.main?.filename.startsWith(path.resolve(__dirname, '../known_issues/')) ? 1 : 0);
}
// Returns true if the exit code "exitCode" and/or signal name "signal"