diff options
| -rw-r--r-- | spec/util/test_env.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util/test_env.lua b/spec/util/test_env.lua index e318128e..23ca5c77 100644 --- a/spec/util/test_env.lua +++ b/spec/util/test_env.lua | |||
| @@ -348,7 +348,7 @@ end | |||
| 348 | -- @return md5sum string: md5sum of directory | 348 | -- @return md5sum string: md5sum of directory |
| 349 | local function hash_environment(path) | 349 | local function hash_environment(path) |
| 350 | if test_env.TEST_TARGET_OS == "linux" then | 350 | if test_env.TEST_TARGET_OS == "linux" then |
| 351 | return execute_output("find " .. path .. " -printf \"%s %p\n\" | md5sum") | 351 | return execute_output("cd " .. path .. " && find . -printf \"%s %p\n\"") |
| 352 | elseif test_env.TEST_TARGET_OS == "osx" then | 352 | elseif test_env.TEST_TARGET_OS == "osx" then |
| 353 | return execute_output("find " .. path .. " -type f -exec stat -f \"%z %N\" {} \\; | md5") | 353 | return execute_output("find " .. path .. " -type f -exec stat -f \"%z %N\" {} \\; | md5") |
| 354 | elseif test_env.TEST_TARGET_OS == "windows" then | 354 | elseif test_env.TEST_TARGET_OS == "windows" then |
