From 18cd74069cea70455dfd5fd76a94195a53513dd7 Mon Sep 17 00:00:00 2001 From: Andrey Vagin Date: Tue, 26 Jun 2012 14:05:00 +0400 Subject: [PATCH] zdtm: don't print useless numbers expr prints a substing length. This patch redirects output of expr to /dev/null Signed-off-by: Andrey Vagin Signed-off-by: Pavel Emelyanov --- test/zdtm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/zdtm.sh b/test/zdtm.sh index 60f6b7fc0..85dba6921 100644 --- a/test/zdtm.sh +++ b/test/zdtm.sh @@ -139,7 +139,7 @@ run_test() { local test=$1 - expr "$test" : 'pidns/' && PIDNS=1 || PIDNS="" + expr "$test" : 'pidns/' > /dev/null && PIDNS=1 || PIDNS="" test=${ZP}/${test#pidns/} shift