Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
B
Baptiste Daroussin
Actually this is more readlink -e 9 years ago 6245036 History
HardenedBSD-pkg tests frontend rootdir.sh
#!/usr/bin/env atf-sh

. $(atf_get_srcdir)/test_environment.sh

tests_init \
	rootdir

rootdir_body() {
	unset PKG_DBDIR
	if [ `uname -s` = "Linux" ]; then
		RP='readlink -e'
	else
		RP='realpath'
	fi

	atf_check \
		-o inline:"`${RP} ${TMPDIR}`/var/db/pkg\n" \
		-e empty \
		-s exit:0 \
		pkg -r "${TMPDIR}" config pkg_dbdir
}