From 7cf8a5d3040d4c30e3002d907708a9bb37c511d9 Mon Sep 17 00:00:00 2001 From: Frank Liepold Date: Tue, 21 Jan 2014 09:30:21 +0100 Subject: [PATCH] test_suite: fix marsadm get role (filter new warnings of marsadm) --- test_suite/scripts/modules/95_marsadm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_suite/scripts/modules/95_marsadm.sh b/test_suite/scripts/modules/95_marsadm.sh index 0e08fc55..dd452c99 100644 --- a/test_suite/scripts/modules/95_marsadm.sh +++ b/test_suite/scripts/modules/95_marsadm.sh @@ -29,7 +29,7 @@ function marsadm_get_role { local host=$1 res=$2 output output=$(lib_remote_idfile $host "marsadm role $res") || lib_exit 1 - expr "$output" : 'I am actually \([^ ][^ ]*\).*' + expr "$output" : '.*I am actually \([^ ][^ ]*\).*' } function marsadm_check_post_condition_primary