diff options
Diffstat (limited to 'jstests/replsets/auth1.js')
-rw-r--r-- | jstests/replsets/auth1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/auth1.js b/jstests/replsets/auth1.js index 0d0ca76d1c0..eb12519f1eb 100644 --- a/jstests/replsets/auth1.js +++ b/jstests/replsets/auth1.js @@ -25,7 +25,7 @@ m = runMongoProgram( "mongod", "--keyFile", path+"key1", "--port", port[0], "--d print("should fail with wrong permissions"); -assert.eq(m, _isWindows()? 100 : 2, "mongod should exit w/ 2: permissions too open"); +assert.eq(m, _isWindows()? 100 : 1, "mongod should exit w/ 1 (EXIT_FAILURE): permissions too open"); stopMongod(port[0]); |