diff options
author | Eric Milkie <milkie@10gen.com> | 2012-10-10 20:48:03 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2012-10-10 20:48:03 -0400 |
commit | 1695343dbf32c975900faba01dbe82c7eab5f2e2 (patch) | |
tree | cc99002cb807013636c529141f2990fa2c18e29c /jstests | |
parent | 58f861ba2f9e9246dfe5c4901ad9d8c275bee600 (diff) | |
download | mongo-1695343dbf32c975900faba01dbe82c7eab5f2e2.tar.gz |
fix test to match new build behavior with exit statuses
Diffstat (limited to 'jstests')
-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]); |