patch-tests_testlib_lua 460 B

12345678910111213
  1. $OpenBSD: patch-tests_testlib_lua,v 1.1.1.1 2016/01/23 19:15:13 landry Exp $
  2. --- tests/testlib.lua.orig Sat Jan 23 18:42:55 2016
  3. +++ tests/testlib.lua Sat Jan 23 18:43:08 2016
  4. @@ -26,7 +26,7 @@ cwriteln('random seed: ', seed)
  5. -- @returns the name of the directory
  6. --
  7. function mktempd()
  8. - local f = io.popen('mktemp -td ltest.XXX', 'r')
  9. + local f = io.popen('mktemp -td ltest.XXXXXXXX', 'r')
  10. local s = f:read('*a')
  11. f:close()
  12. s = s:gsub('[\n\r]+', ' ')