tests: fix the glob tests when building under a long path #3214

This commit is contained in:
John Szakmeister 2015-08-21 21:28:15 -04:00 committed by Justin M. Keyes
parent c75d5010b7
commit f9778052af

View File

@ -4,7 +4,9 @@ local clear, execute, eval, eq = helpers.clear, helpers.execute, helpers.eval, h
before_each(function()
clear()
lfs.mkdir('test-glob')
execute('cd test-glob')
-- Long path might cause "Press ENTER" prompt; use :silent to avoid it.
execute('silent cd test-glob')
end)
after_each(function()