Wind River Support Network

HomeDefectsLIN6-2042
Fixed

LIN6-2042 : [Feature Testing][userspace]: the /usr/bin/LSB_test.sh need to be update for intel-x86-64 lib32

Created: Nov 16, 2013    Updated: Dec 3, 2018
Resolved Date: Dec 18, 2013
Found In Version: 6.0
Fix Version: 6.0.0.2
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

Problem Description
======================
the /usr/bin/LSB_test.sh need to be update for intel-x86-64 lib32

There is a fix this defect going into RCPL2, so this defect is just for tracing the fix integration.

Patch:
--- /usr/bin/LSB_Test.sh.orig   2013-11-14 09:30:08.000000000 +0000
+++ /usr/bin/LSB_Test.sh        2013-11-14 09:31:18.000000000 +0000
@@ -276,6 +276,14 @@
                echo "i486-noarch" >> ${PLATFORM_FILE}
                echo "i486-pc" >> ${PLATFORM_FILE}
                echo "noarch-suse" >> ${PLATFORM_FILE}
+       elif [ ${ARCH} == x86_64 ]; then
+               echo "i486-suse" >> ${PLATFORM_FILE}
+               echo "i486-noarch" >> ${PLATFORM_FILE}
+               echo "i486-pc" >> ${PLATFORM_FILE}
+               echo "noarch-suse" >> ${PLATFORM_FILE}
+               echo "${ARCH}-suse" >> ${PLATFORM_FILE}
+               echo "${ARCH}-noarch" >> ${PLATFORM_FILE}
+               echo "${ARCH}-pc" >> ${PLATFORM_FILE}
        else
                echo "${ARCH}-suse" >> ${PLATFORM_FILE}
                echo "${ARCH}-noarch" >> ${PLATFORM_FILE}

Expected Behavior
======================
script update and it works for intel-x86-64 lib32

Steps to Reproduce

1 configure a project
/lpg-build/cdc/fast_prod/wrlinux60/dvd_install/lx25_13fa/wrlinux-6/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc_std --enable-parallel-pkgbuilds=16 --enable-jobs=8 --with-template=feature/lsbtesting --enable-multilib=lib32
2. make fs
3. boot the target and on target:
a. Add the following code in /usr/bin/LSB_test.sh
echo "---------------------------------"
echo "Run all the certification version of LSB Tests"
echo "---------------------------------"

LSB_DIST_CHECKER="/opt/lsb/test/manager/utils/dist-checker.pl"
SESSION="${WORK_DIR}/session"
if [ ! -e ${SESSION} ]
then
echo "Error: Could not find session file."
echo "You must run LSB test from webbrower."
exit 1
fi

if [ -x ${LSB_DIST_CHECKER} ]
then
${LSB_DIST_CHECKER} -v2 -f ${SESSION}
check
fi
b. run /usr/bin/LSB_test.sh

Other Downloads


Live chat
Online