diff --git a/testcases/smoke-test/smoke-basic-os/oe_test_gettext/oe_test_gettext.sh b/testcases/smoke-test/smoke-basic-os/oe_test_gettext/oe_test_gettext.sh index 5aad01859cf3eeda9e7e1b2b0124c67eb28cdbea..630e9e63d9ce092cff8f03e27e77d94a197a64b7 100644 --- a/testcases/smoke-test/smoke-basic-os/oe_test_gettext/oe_test_gettext.sh +++ b/testcases/smoke-test/smoke-basic-os/oe_test_gettext/oe_test_gettext.sh @@ -54,6 +54,7 @@ EOF mkdir -p locale/en_US/LC_MESSAGES/ msgfmt -o locale/zh_CN/LC_MESSAGES/test.mo test.po CHECK_RESULT $? 0 0 "Can't generate mo file" + LANG=zh_CN.UTF-8 python3 test.py | grep "你好" CHECK_RESULT $? 0 0 "test.py cannot be executed properly or Unable to filter necessary characters" xgettext -k_ -o us.po test.py