From 34e4d2f25e6681ccf3e6a733762a2d6b1959ddcc Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sat, 12 Sep 2020 11:11:32 -0700 Subject: lua/check_cores(): check uname instead of TRAVIS_OS_NAME --- test/helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 } -- cgit