test: disable gh-5100 test when in FIPS mode
authorFedor Indutny <fedor@indutny.com>
Mon, 8 Feb 2016 21:41:11 +0000 (16:41 -0500)
committerMyles Borins <mborins@us.ibm.com>
Wed, 2 Mar 2016 22:01:11 +0000 (14:01 -0800)
This is a follow-up fix for half-broken test in 23196fe, and an attempt
to recover some dignity after breaking CI.

PR-URL: https://github.com/nodejs/node/pull/5144
Reviewed-By: Rich Trott <rtrott@gmail.com>
test/parallel/test-tls-pfx-gh-5100-regr.js

index 865ac2b..29b8955 100644 (file)
@@ -7,6 +7,11 @@ if (!common.hasCrypto) {
   return;
 }
 
+if (common.hasFipsCrypto) {
+  console.log('1..0 # Skipped: PFX does not work in FIPS mode');
+  return;
+}
+
 const assert = require('assert');
 const tls = require('tls');
 const fs = require('fs');