From 6d33f6eb08a32b55858df81de2ed1393b1812fbf Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Sun, 15 Oct 2017 13:57:23 -0400 Subject: [PATCH] tests: increase socat timeout for slow machines Signed-off-by: Stefan Berger --- tests/common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/common b/tests/common index c5f89cf..27130b1 100644 --- a/tests/common +++ b/tests/common @@ -461,7 +461,7 @@ function swtpm_cmd_tx() ;; unix+socket|unix+unix) echo -en "$2" > ${cmd_path} - socat -x -t20 \ + socat -x -t50 \ FILE:${cmd_path},rdonly \ UNIX-CLIENT:${SWTPM_CMD_UNIX_PATH} 2>&1 | \ sed -n '/^ /p' | \ @@ -492,7 +492,7 @@ function swtpm_ctrl_tx() socket+unix|unix+unix) ctrl_path=$(mktemp) echo -en "$2" > ${ctrl_path} - socat -x -t20 \ + socat -x -t50 \ FILE:${ctrl_path},rdonly \ UNIX-CLIENT:${SWTPM_CTRL_UNIX_PATH} 2>&1 | \ sed -n '/^ /p' | \