From f9778052af733af643444946d33e6e5f9b3fba1b Mon Sep 17 00:00:00 2001 From: John Szakmeister Date: Fri, 21 Aug 2015 21:28:15 -0400 Subject: tests: fix the glob tests when building under a long path #3214 --- test/functional/eval/glob_spec.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/functional/eval/glob_spec.lua') diff --git a/test/functional/eval/glob_spec.lua b/test/functional/eval/glob_spec.lua index 136417249c..f99a9e7d0e 100644 --- a/test/functional/eval/glob_spec.lua +++ b/test/functional/eval/glob_spec.lua @@ -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() -- cgit