Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix frontend/abi:basic on Linux
Alex Richardson committed 5 years ago
commit 768a7f5855868131dc31f256ee0f8e453cf73086
parent 14026c3
1 file changed +5 -5
modified tests/frontend/abi.sh
@@ -7,12 +7,12 @@ tests_init \
basic_body() {
	_uname_s="$(uname -s)"
	_expected="TODO: implement me"
-
	if [ "${_uname_s}" = "FreeBSD" ]; then
-
		_expected="FreeBSD:13:amd64\n"
-
	else
-
		# The FreeBSD ELF ABI_FILE should be ignored on other systems:
+
	if [ "${_uname_s}" = "Darwin" ]; then
+
			# The FreeBSD ELF ABI_FILE should is ignored on non-ELF platforms:
		_expected="${_uname_s}:$(uname -r | cut -d. -f1):$(uname -p)\n"
-
		# atf_skip "Not yet supported on ${_uname_s}"
+
	else
+
		# Otherwise the ABI should be parsed from the ELF file.
+
		_expected="FreeBSD:13:amd64\n"
	fi
	atf_check \
		-o inline:"${_expected}" \