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 <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin 2012-06-26 14:05:00 +04:00 committed by Pavel Emelyanov
parent 8abf475d59
commit 18cd74069c

View file

@ -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