| |
@@ -54,7 +54,7 @@
|
| |
|
| |
rlLogInfo "(without skipped) COLLECTIONS=$COLLECTIONS"
|
| |
|
| |
- for i in glibc nscd; do
|
| |
+ for i in glibc coreutils; do
|
| |
rpm -q ${i}-debuginfo.${ARCH} &>/dev/null || rlRun "debuginfo-install -y ${i}.${ARCH}"
|
| |
done
|
| |
|
| |
@@ -67,12 +67,12 @@
|
| |
rlPhaseEnd
|
| |
|
| |
rlPhaseStartTest
|
| |
- rlRun "strace -e trace=open,openat -o strace.out $OBJDUMP -drS /usr/sbin/nscd &> out"
|
| |
+ rlRun "strace -e trace=open,openat -o strace.out $OBJDUMP -drS /usr/bin/ls &> out"
|
| |
rlRun "grep '/usr/lib/debug' strace.out"
|
| |
|
| |
- # Check whether objdump output contains source code snippets
|
| |
- # NSCD sources can change in time, but I'm quite sure there'll
|
| |
- # always be at least one "int i;"
|
| |
+ # Check whether objdump output contains source code snippets.
|
| |
+ # ls sources can change in time, but it's likely there always
|
| |
+ # will be at least one "int i;".
|
| |
rlRun "grep 'int i' out > /dev/null" 0 "Checking for source code snippets in objdump output"
|
| |
|
| |
rlLogInfo "$(head -n20 out)"
|
| |
The test used nscd which has been obsoleted by Fedora [1]. Fortunately
that package was just an example, any package using the same debuginfo
layout will do. Let's use coreutils instead.
[1] https://fedoraproject.org/wiki/Changes/RemoveNSCD