diff --git a/tests/dts-probe-binaries/test.sh b/tests/dts-probe-binaries/test.sh index 32280cb..bed4fae 100755 --- a/tests/dts-probe-binaries/test.sh +++ b/tests/dts-probe-binaries/test.sh @@ -122,7 +122,7 @@ rlJournalStart ./popcnt > a rlRun "$ADDR2LINE -e popcnt $(cat a) > r" # We know that main is at line 4. But on PPC we get ??:0... -if test ! $(uname -i) = "ppc64"; then +if test ! $(uname -m) = "ppc64"; then rlAssertGrep "popcnt.c:4" r fi rm -vf [ra] @@ -205,7 +205,7 @@ fi fi # Try -P --size-sort. rlRun "nm -P --size-sort localplt > p" -if test $(uname -i) = "ppc64" -a $(rlGetDistroRelease) -gt 5; then +if test $(uname -m) = "ppc64" -a $(rlGetDistroRelease) -gt 5; then rlAssertGrep "__libc_csu_init D" p rlAssertGrep "main D" p else