Skip to content

Commit 527926d

Browse files
committed
Fix the no-rpath-pie-powerpc test
1 parent 4061915 commit 527926d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/no-rpath-pie-powerpc.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ if [ "$(echo "$readelfData" | grep -c "PHDR")" != 1 ]; then
3737
fi
3838

3939
virtAddr=$(echo "$readelfData" | grep "PHDR" | awk '{print $3}')
40-
if [ "$virtAddr" != "0x01040000" ]; then
40+
if [ "$virtAddr" != "0x01030000" ] && [ "$virtAddr" != "0x01040000" ]; then
4141
# Triggered if the virtual address is the incorrect endianness
42-
echo "Unexpected virt addr, expected [0x01040000] got [$virtAddr]"
42+
echo "Unexpected virt addr, got [$virtAddr]"
4343
exit 1
4444
fi
4545

0 commit comments

Comments
 (0)