aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2020-09-30 08:18:05 +0200
committerGitHub <noreply@github.com>2020-09-30 08:18:05 +0200
commitd5adc8c00e07b12403c99b7d3fbd6e20a51fa1e4 (patch)
treedab5fe317bd085d6374b22c6c5b70339517db755 /test
parentd0d1f0f9a616d4d85f3233561489f34c010f1673 (diff)
parent34e4d2f25e6681ccf3e6a733762a2d6b1959ddcc (diff)
downloadrneovim-d5adc8c00e07b12403c99b7d3fbd6e20a51fa1e4.tar.gz
rneovim-d5adc8c00e07b12403c99b7d3fbd6e20a51fa1e4.tar.bz2
rneovim-d5adc8c00e07b12403c99b7d3fbd6e20a51fa1e4.zip
Merge pull request #12903 from justinmk/checkcores
lua/check_cores(): check uname instead of TRAVIS_OS_NAME
Diffstat (limited to 'test')
-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 }