Blob Blame History Raw
From ddfd03c95ccf5bd56426f1dde0c9aa513fd91f25 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Pokorn=C3=BD?= <jpokorny@redhat.com>
Date: Wed, 14 Dec 2016 17:08:49 +0100
Subject: [PATCH] Test: pengine: fix single test wrt. missing summary output to
 diff

This was missed in commit 98af208.
---
 pengine/regression.core.sh.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pengine/regression.core.sh.in b/pengine/regression.core.sh.in
index 05a1135..731844f 100644
--- a/pengine/regression.core.sh.in
+++ b/pengine/regression.core.sh.in
@@ -161,7 +161,7 @@ function do_test {
 #    ../admin/crm_verify -X $input
     if [ ! -z $single_test ]; then
 	echo CIB_shadow_dir=$io_dir $test_cmd -x $input -D $dot_output -G $output -S $*
-	CIB_shadow_dir=$io_dir $test_cmd -x $input -D $dot_output -G $output -S $*
+	CIB_shadow_dir=$io_dir $test_cmd -x $input -D $dot_output -G $output -S $* 2>&1 | tee $summary_output
     else
 	CIB_shadow_dir=$io_dir $test_cmd -x $input -S &> $summary_output
     fi
-- 
1.8.3.1