diff options
author | Matt Dannenberg <dannenberg.matt@gmail.com> | 2012-06-11 16:28:55 -0400 |
---|---|---|
committer | Siddharth Singh <singhsiddharth@gmail.com> | 2012-06-13 18:36:17 -0400 |
commit | a5899a16df9ca29e73b3d3040437d3e9d4d0bf49 (patch) | |
tree | a6f1d4369d9e08d1cd372b8cd6df9dab0f420a02 /jstests/hostinfo.js | |
parent | f710e51faa3085fe879e39717bc2f160bcb9ecd9 (diff) | |
download | mongo-a5899a16df9ca29e73b3d3040437d3e9d4d0bf49.tar.gz |
SERVER-5492 Processinfo support freebsd + hostinfo
Processinfo support for freebsd and updated hostinfo.js
Signed-off-by: Siddharth Singh <singhsiddharth@gmail.com>
Diffstat (limited to 'jstests/hostinfo.js')
-rw-r--r-- | jstests/hostinfo.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/hostinfo.js b/jstests/hostinfo.js index 658b89dfd61..16c3810b2c4 100644 --- a/jstests/hostinfo.js +++ b/jstests/hostinfo.js @@ -15,6 +15,10 @@ if (hostinfo.os.type == "Windows") { } else if (hostinfo.os.type == "Darwin") { assert.neq( hostinfo.os.name, "" || null, "Missing Darwin os name" ); assert.neq( hostinfo.os.version, "" || null, "Missing Darwin version" ); + +} else if (hostinfo.os.type == "BSD") { + assert.neq( hostinfo.os.name, "" || null, "Missing FreeBSD os name" ); + assert.neq( hostinfo.os.version, "" || null, "Missing FreeBSD version" ); } // comment out this block for systems which have not implemented hostinfo. |