From ea45425d40cf3822c297c9db44b61db98da22578 Mon Sep 17 00:00:00 2001 From: Yinyue666 Date: Wed, 25 Oct 2023 02:25:10 +0000 Subject: [PATCH 1/3] =?UTF-8?q?update=20testcases/cli-test/psutils/oe=5Fte?= =?UTF-8?q?st=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 From e25ece5e5f44f64db7bbc33b0fa2a3201a8e8d37 Mon Sep 17 00:00:00 2001 From: Yinyue666 Date: Wed, 25 Oct 2023 02:33:53 +0000 Subject: [PATCH 2/3] =?UTF-8?q?update=20testcases/cli-test/psutils/oe=5Fte?= =?UTF-8?q?st=5Fepsffit.sh.=20openEuler-23.09=E7=9A=84yum=E6=BA=90?= =?UTF-8?q?=E6=9F=A5=E7=9C=8Bepsffit=20-h=EF=BC=8C=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=BF=A1=E6=81=AF=E5=8F=82=E6=95=B0=E6=98=AF?= =?UTF-8?q?--version=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_epsffit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/cli-test/psutils/oe_test_epsffit.sh b/testcases/cli-test/psutils/oe_test_epsffit.sh index a62a15694..ddffe0e35 100644 --- a/testcases/cli-test/psutils/oe_test_epsffit.sh +++ b/testcases/cli-test/psutils/oe_test_epsffit.sh @@ -35,7 +35,7 @@ function run_test() { LOG_INFO "Start to run test." # test epsffit -v - test "$(epsffit -v 2>&1 | awk 'NR==1{print$2}')" == "$version" + test "$(epsffit --version 2>&1 | awk 'NR==1{print$2}')" == "$version" CHECK_RESULT $? 0 0 "epsffit -v execution failed." # test espffit llx lly urx ury -- Gitee From d15f00298da30a4b9054df7c72c234fccc46e113 Mon Sep 17 00:00:00 2001 From: Yinyue666 Date: Wed, 25 Oct 2023 02:42:20 +0000 Subject: [PATCH 3/3] =?UTF-8?q?update=20testcases/cli-test/psutils/oe=5Fte?= =?UTF-8?q?st=5Fpsnup=5F01.sh.=20openEuler-23.09=E7=9A=84yum=E6=BA=90?= =?UTF-8?q?=E6=9F=A5=E7=9C=8Bpsnup=20-h=EF=BC=8C=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=BF=A1=E6=81=AF=E5=8F=82=E6=95=B0=E6=98=AF?= =?UTF-8?q?--version=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_psnup_01.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcases/cli-test/psutils/oe_test_psnup_01.sh b/testcases/cli-test/psutils/oe_test_psnup_01.sh index d63e05d0f..aef0fec8d 100644 --- a/testcases/cli-test/psutils/oe_test_psnup_01.sh +++ b/testcases/cli-test/psutils/oe_test_psnup_01.sh @@ -30,7 +30,7 @@ function run_test() { LOG_INFO "Start to run test." # test psnup - test "$(psnup -v 2>&1| grep -i "psnup [[:digit:]]" | awk '{print$2}')" == "$version" + test "$(psnup --version 2>&1| grep -i "psnup [[:digit:]]" | awk '{print$2}')" == "$version" CHECK_RESULT $? 0 0 "psnup -v execution failed." psnup -2 ./common/a4-1.ps 2>&1 | grep -i -a "wrote .* pages, .* bytes" # -nup 2 page per sheet CHECK_RESULT $? 0 0 "psnup -2 ./common/a4-1.ps execution failed." -- Gitee