diff options
Diffstat (limited to 'jstests/libs/os_helpers.js')
-rw-r--r-- | jstests/libs/os_helpers.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/libs/os_helpers.js b/jstests/libs/os_helpers.js index b700ee672f7..60a52a31ecc 100644 --- a/jstests/libs/os_helpers.js +++ b/jstests/libs/os_helpers.js @@ -2,6 +2,10 @@ * Test helpers for identifying OS */ +function isLinux() { + return getBuildInfo().buildEnvironment.target_os == "linux"; +} + function isRHEL8() { if (_isWindows()) { return false; |