Skip to content

Commit

Permalink
tests/abi:native: fix failure on x86_64 Linux
Browse files Browse the repository at this point in the history
This behavior was changed in c2fe22b.

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
ifreund authored and bapt committed Nov 24, 2024
1 parent 9e62620 commit 5fc9047
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/frontend/abi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ native_body() {
else
version=$(uname -r | cut -d. -f1)
fi
_expected="${OS}:${version}:$(echo $thisarch | sed s/x86_64/amd64/)\n"
if [ "${OS}" = "FreeBSD" ]; then
thisarch=$(echo "${thisarch}" | sed s/x86_64/amd64/)
fi
_expected="${OS}:${version}:${thisarch}\n"
atf_check \
-o inline:"${_expected}" \
pkg config abi
Expand Down

0 comments on commit 5fc9047

Please sign in to comment.