aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2020-09-12 11:11:32 -0700
committerJustin M. Keyes <justinkz@gmail.com>2020-09-12 11:12:04 -0700
commit34e4d2f25e6681ccf3e6a733762a2d6b1959ddcc (patch)
tree2a8fefa9bbef550151af8592df27d6d54ca307b2 /test/helpers.lua
parentb23907e7ce8b4cf6e7e95abd3379bcae6715af7b (diff)
downloadrneovim-34e4d2f25e6681ccf3e6a733762a2d6b1959ddcc.tar.gz
rneovim-34e4d2f25e6681ccf3e6a733762a2d6b1959ddcc.tar.bz2
rneovim-34e4d2f25e6681ccf3e6a733762a2d6b1959ddcc.zip
lua/check_cores(): check uname instead of TRAVIS_OS_NAME
Diffstat (limited to 'test/helpers.lua')
-rw-r--r--test/helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helpers.lua b/test/helpers.lua
index 2e0258afed..5acd2ea0bd 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -345,7 +345,7 @@ function module.check_cores(app, force)
exc_re = { os.getenv('NVIM_TEST_CORE_EXC_RE'), local_tmpdir }
db_cmd = os.getenv('NVIM_TEST_CORE_DB_CMD') or gdb_db_cmd
random_skip = os.getenv('NVIM_TEST_CORE_RANDOM_SKIP')
- elseif os.getenv('TRAVIS_OS_NAME') == 'osx' then
+ elseif 'darwin' == module.uname() then
initial_path = '/cores'
re = nil
exc_re = { local_tmpdir }