From: wanchao-xu Date: Mon, 15 Apr 2024 00:46:12 +0000 (+0800) Subject: Replace python with python2. X-Git-Tag: accepted/tools/devbase/tools/legacy/20250527.042513^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fdevel-py2;p=tools%2Fitest-cases-gbs.git Replace python with python2. * The python-is-python2 package will not be installed by gbs now. Change-Id: Iba6f0545ced8364ac766dcbb188b87286cfd741b Signed-off-by: wanchao-xu --- diff --git a/cases/export/gbs_export_with_merge_commit_in_git-log.case b/cases/export/gbs_export_with_merge_commit_in_git-log.case index a9b5300..708dafd 100644 --- a/cases/export/gbs_export_with_merge_commit_in_git-log.case +++ b/cases/export/gbs_export_with_merge_commit_in_git-log.case @@ -28,9 +28,9 @@ git commit -a -m "first moidfy README" git checkout master -DIST=`python -c "import platform; print platform.dist()[0]"` +DIST=`python2 -c "import platform; print platform.dist()[0]"` -VERSION=`python -c "import platform;print platform.dist()[1]"` +VERSION=`python2 -c "import platform;print platform.dist()[1]"` if ([ $DIST = centos ] && [ $VERSION \< 7 ] ) || ([ $DIST = SuSE ] && [ $VERSION = 12.1 ]);then OPTION=--no-log diff --git a/cases/other/gbs_version_check.case b/cases/other/gbs_version_check.case index 7526e84..d3fd2ed 100644 --- a/cases/other/gbs_version_check.case +++ b/cases/other/gbs_version_check.case @@ -1,7 +1,7 @@ GBS package version check