From f24c193329a21822cff54f0180695389bff8cfa8 Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Jul 29 2019 11:30:04 +0000 Subject: Fixed the p_bridge-utils tests for c7 Signed-off-by: Fabian Arrotin --- diff --git a/tests/p_bridge-utils/p_bridge-utils-functions b/tests/p_bridge-utils/p_bridge-utils-functions index 9f66c02..0020d4b 100644 --- a/tests/p_bridge-utils/p_bridge-utils-functions +++ b/tests/p_bridge-utils/p_bridge-utils-functions @@ -49,13 +49,14 @@ function bru_del_bridge_7 else brctl delbr $bridge bridge_present=`brctl show | grep $bridge` - if [ $bridge_present ] + if [ "$bridge_present" ] then ret_val=1 else ret_val=0 fi fi + echo $ret_val } function bru_del_bridge_8 {