SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
26
sysutils/lsyncd/patches/patch-tests_testlib_lua
Normal file
26
sysutils/lsyncd/patches/patch-tests_testlib_lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Do not color test output as it messes up the terminal
|
||||
|
||||
Index: tests/testlib.lua
|
||||
--- tests/testlib.lua.orig
|
||||
+++ tests/testlib.lua
|
||||
@@ -2,9 +2,9 @@
|
||||
posix = require( 'posix' )
|
||||
|
||||
-- escape codes to colorize output on terminal
|
||||
-local c1='\027[47;34m'
|
||||
+local c1=''
|
||||
|
||||
-local c0='\027[0m'
|
||||
+local c0=''
|
||||
|
||||
--
|
||||
-- Writes colorized.
|
||||
@@ -34,7 +34,7 @@ cwriteln( 'random seed: ', seed )
|
||||
--
|
||||
function mktempd
|
||||
( )
|
||||
- local f = io.popen( 'mktemp -td ltest.XXX', 'r' )
|
||||
+ local f = io.popen( 'mktemp -td ltest.XXXXXXXX', 'r' )
|
||||
|
||||
local s = f:read( '*a' )
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue