CI Tests: tests/Regression/bz2115831-glibc-missing-gnu-debuglink-section-in: fixes libc.so.6 search path
This commit is contained in:
parent
51fcca6292
commit
4246727bc0
@ -29,19 +29,19 @@
|
|||||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
|
||||||
PACKAGE="glibc"
|
PACKAGE="glibc"
|
||||||
LIBC_SO_6_LIBS=$(find /usr/ -name libc.so.6)
|
LIBC_SO_6_LIBS=$(find /usr/lib/ /usr/lib64/ -name libc.so.6)
|
||||||
TESTL2="/usr/bin/ld.so"
|
TESTL2="/usr/bin/ld.so"
|
||||||
|
|
||||||
rlJournalStart
|
rlJournalStart
|
||||||
rlPhaseStartSetup
|
rlPhaseStartSetup
|
||||||
rlAssertRpm $PACKAGE
|
rlAssertRpm $PACKAGE
|
||||||
rlAssertRpm ${PACKAGE}-debuginfo
|
|
||||||
PACKNVR=$(rpm -q ${PACKAGE}.`arch`)
|
PACKNVR=$(rpm -q ${PACKAGE}.`arch`)
|
||||||
rlRun "TESTTMPDIR=$(mktemp -d)"
|
rlRun "TESTTMPDIR=$(mktemp -d)"
|
||||||
rlRun "pushd $TESTTMPDIR"
|
rlRun "pushd $TESTTMPDIR"
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest
|
rlPhaseStartTest
|
||||||
|
rlRun -l "rpm -ql glibc-debuginfo"
|
||||||
for LIB in $LIBC_SO_6_LIBS; do
|
for LIB in $LIBC_SO_6_LIBS; do
|
||||||
rlRun -l "eu-readelf -S $LIB | grep -q .debug_" 1
|
rlRun -l "eu-readelf -S $LIB | grep -q .debug_" 1
|
||||||
rlRun -l "eu-readelf -S $LIB | grep -q .gnu_debuglink" 0
|
rlRun -l "eu-readelf -S $LIB | grep -q .gnu_debuglink" 0
|
||||||
|
Loading…
Reference in New Issue
Block a user