From eb8f7e15190f804eee54458e082b9fd94edb0c20 Mon Sep 17 00:00:00 2001 From: Amatist_kurisu Date: Wed, 6 May 2020 09:06:13 +0800 Subject: [PATCH] fix(test): test case --- tests/dmctl_command/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/dmctl_command/run.sh b/tests/dmctl_command/run.sh index c5938bd0fc..8ff2505e96 100644 --- a/tests/dmctl_command/run.sh +++ b/tests/dmctl_command/run.sh @@ -13,7 +13,7 @@ function run() { $PWD/bin/dmctl.test DEVEL > $WORK_DIR/help.log help_msg=$(cat $WORK_DIR/help.log) help_msg_cnt=$(echo "${help_msg}" | wc -l |xargs) - if [ "$help_msg_cnt" != 34 ]; then + if [ "$help_msg_cnt" != 35 ]; then echo "dmctl case 1 help failed: $help_msg" echo $help_msg_cnt exit 1 @@ -24,7 +24,7 @@ function run() { $PWD/bin/dmctl.test DEVEL --help > $WORK_DIR/help.log help_msg=$(cat $WORK_DIR/help.log) help_msg_cnt=$(echo "${help_msg}" | wc -l |xargs) - if [ "$help_msg_cnt" != 34 ]; then + if [ "$help_msg_cnt" != 35 ]; then echo "dmctl case 2 help failed: $help_msg" exit 1 fi