Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
test: fix another altabi test on linux
Baptiste Daroussin committed 1 year ago
commit 1c503a01cef073676b231d51db71cdcf6a4fa13b
parent b2566ad
1 file changed +4 -1
modified tests/frontend/abi.sh
@@ -20,13 +20,16 @@ native_body() {
	fi
	if [ "${OS}" = "FreeBSD" ]; then
		thisarch=$(echo "${thisarch}" | sed s/x86_64/amd64/)
+
		thisabi=$(echo "${thisarch}" | sed s/amd64/x86:64/)
+
	else
+
		thisabi=$thisarch
	fi
	_expected="${OS}:${version}:${thisarch}\n"
	atf_check \
		-o inline:"${_expected}" \
		pkg config abi

-
	_expected="$(uname -s | tr '[:upper:]' '[:lower:]'):${version}:$(echo $thisarch | sed 's/x86_64/x86:64/; s/amd64/x86:64/')\n"
+
	_expected="$(uname -s | tr '[:upper:]' '[:lower:]'):${version}:${thisabi}\n"
	atf_check \
		-o inline:"${_expected}" \
		pkg config altabi