From ea45425d40cf3822c297c9db44b61db98da22578 Mon Sep 17 00:00:00 2001 From: Yinyue666 Date: Wed, 25 Oct 2023 02:25:10 +0000 Subject: [PATCH] =?UTF-8?q?update=20testcases/cli-test/psutils/oe=5Ftest?= =?UTF-8?q?=5Fpsbook.sh.=20openEuler-23.09=E7=9A=84yum=E6=BA=90=E6=9F=A5?= =?UTF-8?q?=E7=9C=8Bpsbook=20-h=EF=BC=8C=E6=9F=A5=E7=9C=8B=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E4=BF=A1=E6=81=AF=E5=8F=82=E6=95=B0=E6=98=AF--version?= =?UTF-8?q?=EF=BC=8C=E6=B2=A1=E6=9C=89-v=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Yinyue666 --- testcases/cli-test/psutils/oe_test_psbook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/cli-test/psutils/oe_test_psbook.sh b/testcases/cli-test/psutils/oe_test_psbook.sh index bac016059..e8d6fd6cf 100644 --- a/testcases/cli-test/psutils/oe_test_psbook.sh +++ b/testcases/cli-test/psutils/oe_test_psbook.sh @@ -30,7 +30,7 @@ function run_test() { LOG_INFO "Start to run test." # test psbook - test "$(psbook -v 2>&1 | awk 'NR==1{print$2}')" == "$version" + test "$(psbook --version 2>&1 | awk 'NR==1{print$2}')" == "$version" CHECK_RESULT $? 0 0 "psbook -v execution failed." psbook -s4 ./common/a4-1.ps 2>&1 | grep -i -a "wrote .* pages, .* bytes" CHECK_RESULT $? 0 0 "psbook -s4 ./common/a4-1.ps execution failed." -- Gitee