mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-18371 Fix FIPS test for platforms without FIPS support
This commit is contained in:
parent
1fd0c2e38c
commit
170a926471
@ -18,8 +18,9 @@ var mongo = runMongoProgram("mongo",
|
||||
// if mongo shell didn't start/connect properly
|
||||
if (mongo != 0) {
|
||||
print("mongod failed to start, checking for FIPS support");
|
||||
assert(rawMongoProgramOutput().match(
|
||||
/this version of mongodb was not compiled with FIPS support/));
|
||||
mongoOutput = rawMongoProgramOutput()
|
||||
assert(mongoOutput.match(/this version of mongodb was not compiled with FIPS support/) ||
|
||||
mongoOutput.match(/FIPS_mode_set:fips mode not supported/))
|
||||
}
|
||||
else {
|
||||
// verify that auth works, SERVER-18051
|
||||
|
Loading…
Reference in New Issue
Block a user