Mercurial > louis > mq > lightsd
changeset 218:1bb9e30ce9ae
fix the command pipes tests on linux
author | Louis Opter <kalessin@kalessin.fr> |
---|---|
date | Mon, 03 Aug 2015 23:17:59 -0700 |
parents | d320d75c9ca1 |
children | be1071f3a162 |
files | add_command_pipe.patch ignore_pcaps.patch series |
diffstat | 3 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/add_command_pipe.patch Mon Aug 03 01:18:55 2015 -0700 +++ b/add_command_pipe.patch Mon Aug 03 23:17:59 2015 -0700 @@ -1,5 +1,5 @@ # HG changeset patch -# Parent b346d618c2526ae5de9814cdd8db56fff77b224b +# Parent cbb4cfee6f64cba898361881177ca949d2dfa220 diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt @@ -1955,7 +1955,7 @@ +lgtd_tests_make_temp_dir(void) +{ + char buf[PATH_MAX] = { 0 }; -+ int n = snprintf(buf, sizeof(buf), "%slightsd.test.XXXXXXXX", P_tmpdir); ++ int n = snprintf(buf, sizeof(buf), "%s/lightsd.test.XXXXXXXX", P_tmpdir); + if (n >= (int)sizeof(buf)) { + errx(1, "cannot allocate temporary directory"); + }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ignore_pcaps.patch Mon Aug 03 23:17:59 2015 -0700 @@ -0,0 +1,11 @@ +# HG changeset patch +# Parent d7f8706407ee3520ecd1c964be8df4a2aebd5d12 + +diff --git a/.hgignore b/.hgignore +--- a/.hgignore ++++ b/.hgignore +@@ -1,3 +1,4 @@ + .*\.sw[a-z]$ + .*\.py[co]$ + ^build ++^pcaps