From 4a5eab2ec3874197880cdb1b3c56341418e115b2 Mon Sep 17 00:00:00 2001 From: wangyu Date: Fri, 5 May 2023 16:18:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=84=9A=E6=9C=ACoe=5Ftest?= =?UTF-8?q?=5Fautoscan.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../os-basic/oe_test_autoscan/oe_test_autoscan.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/testcases/system-test/system-integration/os-basic/oe_test_autoscan/oe_test_autoscan.sh b/testcases/system-test/system-integration/os-basic/oe_test_autoscan/oe_test_autoscan.sh index 94b6f4ea6..0a0c5225f 100644 --- a/testcases/system-test/system-integration/os-basic/oe_test_autoscan/oe_test_autoscan.sh +++ b/testcases/system-test/system-integration/os-basic/oe_test_autoscan/oe_test_autoscan.sh @@ -21,7 +21,8 @@ source ${OET_PATH}/libs/locallibs/common_lib.sh function pre_test() { LOG_INFO "Start to prepare the test environment." - OLD_LANG=$LANG + DNF_INSTALL autoconf + OLD_LANG=$LANG export LANG=en_US.UTF-8 LOG_INFO "End to prepare the test environment." } @@ -41,7 +42,8 @@ function run_test() { function post_test() { LOG_INFO "start environment cleanup." - export LANG=${OLD_LANG} + DNF_REMOVE + export LANG=${OLD_LANG} LOG_INFO "Finish environment cleanup!" } -- Gitee