[CRIU] [PATCH 4/4] zdtm: hide output of commands, which checks existence of something

Andrey Vagin avagin at openvz.org
Thu Jul 11 04:30:07 EDT 2013


Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 test/zdtm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index 176faac..502bf21 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -247,7 +247,7 @@ start_test()
 	unset ZDTM_UID
 	unset ZDTM_GID
 
-	echo $TEST_SUID_LIST | grep $tname || {
+	echo $TEST_SUID_LIST | grep -q $tname || {
 		export ZDTM_UID=18943
 		export ZDTM_GID=58467
 		chown $ZDTM_UID:$ZDTM_GID $tdir
-- 
1.8.3.1



More information about the CRIU mailing list